forked from FarmMaps/FarmMapsApiClient
Merge pull request 'Update 'README.MD'' (#13) from fedde-patch-1 into master
Reviewed-on: FarmMaps/FarmMapsApiClient#13 Reviewed-by: Mark van der Wal <mark.vanderwal@akkerweb.nl>
This commit is contained in:
commit
3da2b71d62
14
README.MD
14
README.MD
@ -1,15 +1,27 @@
|
|||||||
##### NOT PRODUCTION READY CODE, JUST AN EXAMPLE
|
##### 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**
|
**appsettings.secrets.json**
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
|
//API credential sign-in
|
||||||
"ClientId": "<clientId>",
|
"ClientId": "<clientId>",
|
||||||
"ClientSecret": "<clientSecret>"
|
"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.
|
* Isn't 100% complete.
|
||||||
* Needs proper testing of all public api methods.
|
* Needs proper testing of all public api methods.
|
||||||
* Needs documentation of all public api methods.
|
* Needs documentation of all public api methods.
|
Loading…
Reference in New Issue
Block a user