Example C# client using FarmMaps API to create taskmaps
Pepijn van Oort
fd44f99c98
And updated ShowGeotiff.r using new 'r' 'terra' packages And added comment for the DataDownloadApplication and for the BulkSatDownloadApplication: //To run this app, first go to farmmaps datastore at https://farmmaps.eu/en/editor/plan (or on test) //goto 'Apps and Data', goto 'Data', buy (or get for free?): 'SATELLITE' |
||
---|---|---|
FarmmapsApi | ||
FarmMapsBlight | ||
FarmmapsBulkSatDownload | ||
FarmmapsCleanUp | ||
FarmmapsDataDownload | ||
FarmmapsDownloadCL | ||
FarmmapsHaulmkilling | ||
FarmmapsHerbicide | ||
FarmmapsKPI | ||
FarmmapsNbs | ||
FarmmapsPoten | ||
FarmmapsZonering | ||
Secrets | ||
.gitignore | ||
FarmmapsApiSamples.sln | ||
README.MD |
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.