Example C# client using FarmMaps API to create taskmaps
pepijn van oort
111b4e576f
Normally 3 layers 0: ndvi, 1: wdvi, 2: natural. In some cases only 2 layers: 0: wdvi, 1: natural. Which caused error when requesting statistics. This happened for example for cropfieldItem.Code ‘e08d71bd92334dbab9e645ad6e72da63’ |
||
---|---|---|
FarmmapsApi | ||
FarmMapsBlight | ||
FarmmapsBulkSatDownload | ||
FarmmapsDataDownload | ||
FarmmapsHaulmkilling | ||
FarmmapsHerbicide | ||
FarmmapsNbs | ||
FarmmapsPoten | ||
FarmmapsZonering | ||
Secrets | ||
.gitignore | ||
FarmmapsApiSamples.sln | ||
README.MD |
NOT PRODUCTION READY CODE, JUST AN EXAMPLE
Put your clientId and clientSecret in a newly created appsettings.secrets.json file inside the root of the Secrets project.
appsettings.secrets.json
{
"ClientId": "<clientId>",
"ClientSecret": "<clientSecret>"
}
- Isn't 100% complete.
- Needs proper testing of all public api methods.
- Needs documentation of all public api methods.