Compare commits
5 Commits
0f9fe0a433
...
fedde-patc
Author | SHA1 | Date | |
---|---|---|---|
0cce247538 | |||
cb999caf46 | |||
721b33b4e5 | |||
3da2b71d62 | |||
b7b669bcfd |
@@ -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";
|
||||
|
14
README.MD
14
README.MD
@@ -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.
|
Reference in New Issue
Block a user