Example C# client using FarmMaps API to create taskmaps
Go to file
ttenden 67e5cb6bb4 Added KPI G1 ammonia emissions (only on test servers)
- Ammonia emissions from fertilizers not yet fully functional
2024-07-04 13:35:33 +02:00
FarmmapsApi new Task<Configuration> GetConfiguration 2023-11-28 15:12:51 +01: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 CL104 2024-06-28 11:27:24 +02: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 Added KPI G1 ammonia emissions (only on test servers) 2024-07-04 13:35:33 +02: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.