C# client using FarmMaps API to connect to a database for crop nutrient parameters
Go to file
Pepijn van Oort f1707c432f More testing & demo's in KPIInput.json:
* pesticide
* effect of soiltype: yes, different target & threshold for nitrogen (OK)
* effect of productionpurpose: none?
* effect of location: different nitrogen balance due to different atmospheric deposition (OK)

And update TODO.txt
2023-11-01 13:05:49 +01:00
FarmmapsApi error catching and console input to ask which KPIinput file to use 2023-10-24 13:06:36 +02:00
FarmMapsBlight Updated receiving of root items 2022-02-28 14:29:56 +01:00
FarmmapsBulkSatDownload Updated receiving of root items 2022-02-28 14:29:56 +01:00
FarmmapsCleanUp new project FarmmapsCleanUp to clean up cropfielditems and satellitetaskcodes used only once 2021-06-07 16:38:42 +02:00
FarmmapsDataDownload update TargetFramework of all projects to netcoreapp3.1. Except FarmmapsAPi & Secrets which remain 2.1 2023-06-13 12:05:30 +02:00
FarmmapsDownloadCL Added codelist CL251: Codering teeltdoelen (CropProductionPurposeCode) 2023-11-01 12:32:05 +01:00
FarmmapsHaulmkilling update TargetFramework of all projects to netcoreapp3.1. Except FarmmapsAPi & Secrets which remain 2.1 2023-06-13 12:05:30 +02:00
FarmmapsHerbicide update TargetFramework of all projects to netcoreapp3.1. Except FarmmapsAPi & Secrets which remain 2.1 2023-06-13 12:05:30 +02:00
FarmmapsKPI More testing & demo's in KPIInput.json: 2023-11-01 13:05:49 +01:00
FarmmapsNbs Updated receiving of root items 2022-02-28 14:29:56 +01:00
FarmmapsPoten Updated receiving of root items 2022-02-28 14:29:56 +01:00
FarmmapsZonering update TargetFramework of all projects to netcoreapp3.1. Except FarmmapsAPi & Secrets which remain 2.1 2023-06-13 12:05:30 +02:00
Secrets download codelist CL405, soil types 2023-10-24 13:47:58 +02:00
.gitignore Projects FarmmapsBulkSatDownload and FarmmapsDataDownload fully updated and tested 2021-05-26 10:16:29 +02:00
FarmmapsApiSamples.sln new project to download latest version of editeelt codelists 2023-10-18 17:32:38 +02:00
README.MD Extra note to Clone the git repository to a local drive. DON'T clone to a network drive like "My Documents". Latter may cause authentication problems. 2023-10-04 10:43:44 +02:00

NOT PRODUCTION READY CODE, JUST AN EXAMPLE

Put your clientId and clientSecret or your Farmmaps-account data (username and password) in a newly created appsettings.secrets.json file inside the root of the Secrets project.
Clone the git repository to a local drive. DON'T clone to a network drive like "My Documents". Latter may cause authentication problems.

appsettings.secrets.json

{
  //API credential sign-in
  "ClientId": "<clientId>",
  "ClientSecret": "<clientSecret>"
}

Or when using a Farmmaps account to sing-in

appsettings.secrets.json

{
 //Sign-in using farmmaps account
 "Username": "",
 "Password": ""
}
  • Isn't 100% complete.
  • Needs proper testing of all public api methods.
  • Needs documentation of all public api methods.