Step 1: Create an Account

  1. Browse to the API web page at api.datagator.tech/api.
  2. On the web page open the user list by clicking on "user".
  3. Click the purple "POST" button with "/users" to the right of it.
  4. In the "data" box enter your unique email and password so get you can get a token later, just supply an email address an a password, the email will not verified or anything.
  5. Copy the value of the "id" key in the box labeled "Response Body" and also save a copy of the email and password sent in the request.
Account request example:
{
"email": "anybody@anywhere.com",
"password": "mySecret"
}

Step 2: Get an API Token

  1. Near the end of the "user" list click the purple "POST" button with "/users/login" to the right of it.
  2. Paste in the same email and password used earlier into the "credentials" box.
  3. Copy the value of the "id" key from the response without the quotes and paste it into the "accessToken" box on the top of the page.
  4. Click the "Set Access Token" button. This will save you from needing to worry about the token while using this web page, but the token will be needed to render the Candlestick chart in the last step.
Step 3: Choose the Topic Data Source
  1. Select the data source for the Topic from any available at https://thingspeak.com/channels/public (Topics are called fields there).
  2. On that web page left click the link at the top of the box that you have chosen and copy the link address.
  3. Click on the link that was just copied to open its web page.
  4. On the page that opens note the number of the Field you would like to use as Topic data.
  5. Next edit that saved link from the top of the box by appending "/fields/" then the number of the noted Field and adding a ".json" to the very end.
Your end result should look similar to this https://thingspeak.com/channels/172857/fields/4.json you can test it by pasting the link into the address bar of a web browser and checking the broker returns some JSON data.