Data synchronized from Atmotube PRO to a smartphone is uploaded to a cloud server (depending on the availability of an internet connection). This data can be remotely accessed using the Atmotube Cloud API.
Request a private API key to get started by contacting us. In order for an API key to be issued, provide the following data from your Atmotube PRO device(s):
Here are instructions on how to locate these.
1. Use the Authorize button and fill in the API key in the value field as seen below:
2. Click on the "Try it out" button below the Authorize button and enter the details required:
3. Finally, click the Execute button.
If JSON format was specified, historical data from the Atmotube PRO will be returned in the Responses section as in the example seen below:
There is also an option to download the data in JSON format in the bottom right corner of the response body section.
If CSV format was specified, an option to download the data as a CSV file will appear in the response body section:
Alternatively, the request URL found in the Responses section can be used to call the API endpoint and specify the parameters in the URL itself. Here is an example API call format:
https://api.atmotube.com/api/v1/data?api_key=xxxxxx-xxxx-xxxx-xxxx-xxxxxxxx&mac=XX:XX:XX:XX:XX:XX&limit=2000&offset=0&order=desc&start_date=2022-06-13&end_date=2022-06-17&format=json
Note: You may also use the “date” parameter in the API call instead of “start_date” and “end_date” if only a day’s worth of data is required, as shown in the example URL below:
https://api.atmotube.com/api/v1/data?api_key=xxxxxx-xxxx-xxxx-xxxx-xxxxxxxx&mac=XX:XX:XX:XX:XX:XX&limit=1000&offset=0&order=desc&date=2022-06-13&format=json
Each API parameter is separated by the "&" symbol.
If you require assistance, please contact us.