C# client using FarmMaps API to connect to a database for crop nutrient parameters
Go to file
2024-05-28 10:06:48 +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 typos 2024-02-27 13:58:09 +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 //added a duplicate counter to deal with calculations where there is more 1 duplicate. 2024-05-28 10:06:48 +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.