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'` +