Compare commits

...

5 Commits

Author SHA1 Message Date
0cce247538 Update 'README.MD' 2023-03-28 11:53:43 +00:00
cb999caf46 Merge pull request 'Update 'FarmmapsApi/Constants.cs'' (#14) from fedde-patch-1 into master
Reviewed-on: #14
2022-05-25 08:18:42 +00:00
721b33b4e5 Update 'FarmmapsApi/Constants.cs' 2022-04-25 14:44:57 +00:00
3da2b71d62 Merge pull request 'Update 'README.MD'' (#13) from fedde-patch-1 into master
Reviewed-on: #13
Reviewed-by: Mark van der Wal <mark.vanderwal@akkerweb.nl>
2022-02-28 13:54:46 +00:00
b7b669bcfd Update 'README.MD' 2022-02-28 13:50:44 +00:00
2 changed files with 14 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ namespace FarmmapsApiSamples
public const string VRAHAULMKILLING_TASK = "vnd.farmmaps.task.vrahaulmkilling";
public const string VRAPLANTING_TASK = "vnd.farmmaps.task.vrapoten";
public const string VRAZONERING_TASK = "vnd.farmmaps.task.vrazonering";
public const string SATELLITE_TASK = "vnd.farmmaps.task.satellite";
public const string SATELLITE_TASK = "vnd.farmmaps.task.sentinelhub";
public const string VANDERSAT_TASK = "vnd.farmmaps.task.vandersat";
public const string TASKMAP_TASK = "vnd.farmmaps.task.taskmap";
public const string WORKFLOW_TASK = "vnd.farmmaps.task.workflow";

View File

@@ -1,15 +1,27 @@
##### 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.
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 sign-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.