C# client using FarmMaps API to connect to a database for crop nutrient parameters
Mark van der Wal
3da2b71d62
Reviewed-on: FarmMaps/FarmMapsApiClient#13 Reviewed-by: Mark van der Wal <mark.vanderwal@akkerweb.nl> |
||
---|---|---|
FarmmapsApi | ||
FarmMapsBlight | ||
FarmmapsBulkSatDownload | ||
FarmmapsCleanUp | ||
FarmmapsDataDownload | ||
FarmmapsHaulmkilling | ||
FarmmapsHerbicide | ||
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.
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.