From b7b669bcfd2e88c331d2469405366b41ed014fd8 Mon Sep 17 00:00:00 2001 From: fedde Date: Mon, 28 Feb 2022 13:50:44 +0000 Subject: [PATCH] Update 'README.MD' --- README.MD | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.MD b/README.MD index 43ba6c7..36f4d61 100644 --- a/README.MD +++ b/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": "", "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. \ No newline at end of file -- 2.34.1