applio-python-integration

A implementation of the appli data api in python

Install

$ pip install -r requirements.txt

Use

add the applio.py file from the src folder to your project
import applio

client = applio.ApplioClient(token)
devices = applio.devices(client)
measurements = applio.device_measurement_list(client, devices[0].id)

Example

# Create a .env file with TOKEN='{token}' variable (replace {token} with your applio api key)
$ python3 ./example.py