From 96aa4d58cf567f99adf5a5e1cb96248dcca3f6f6 Mon Sep 17 00:00:00 2001 From: JDierkse Date: Mon, 17 May 2021 16:06:03 +0200 Subject: [PATCH] Add README.md --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..1992fd9 --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +ToonBridge +===================== + +### Instructions + +In order to get an Authentication Token Execute the following in a Browser: + +`curl -k -v -L "https://api.toon.eu/toonapi-accesstoken?tenant_id=eneco&client_id=r47jwm8f5J2yG6wYhVzaqoctRL7FA6Aa"` + +Use the Authentication Token to get the Agreement ID + +`curl -X GET https://api.toon.eu/toon/v3/agreements -H 'authorization: Bearer {access_token}' -H 'cache-control: no-cache' -H 'content-type: application/json'` +