FarmMapsApiClient/README.MD

27 lines
640 B
Plaintext
Raw Normal View History

##### NOT PRODUCTION READY CODE, JUST AN EXAMPLE
2022-02-28 13:50:44 +00:00
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.
2021-05-19 17:42:58 +00:00
**appsettings.secrets.json**
```
{
2022-02-28 13:50:44 +00:00
//API credential sign-in
2021-05-19 17:42:58 +00:00
"ClientId": "<clientId>",
"ClientSecret": "<clientSecret>"
}
```
2023-03-28 11:53:43 +00:00
Or when using a Farmmaps account to sign-in
2022-02-28 13:50:44 +00:00
**appsettings.secrets.json**
```
{
//Sign-in using farmmaps account
"Username": "",
"Password": ""
}
```
2020-04-08 17:28:30 +00:00
* Isn't 100% complete.
* Needs proper testing of all public api methods.
* Needs documentation of all public api methods.