No project description provided
Project description
vital-python
The official Python Library for Vital API
Install
pip install vital
Calling Endpoints
from vital import Client
# Available environments are 'sandbox', 'development', and 'production'.
client = Client(client_id='***', secret='***', environment='sandbox')
Supported Endpoints
<!-- Dates have to be url encoded -->
start_date = (datetime.now()-timedelta(days=1)).isoformat())
end_date = datetime.now().isoformat()
client.LinkToken.create(user_key="user_key")
client.Body.get(user_key=**,start_date, end_date)
client.Activity.get(user_key=**,start_date, end_date)
client.Sleep.get(user_key=**,start_date, end_date)
client.SourceSpecific.get(user_key=**,start_date, end_date)
client.User.create(client_user_id=**)
client.User.providers(user_key=**)
client.User.get(client_user_id=**)
Installing locally
poetry build --format sdist
tar -xvf dist/*-`poetry version -s`.tar.gz -O '*/setup.py' > setup.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vital-0.2.29.tar.gz
(8.4 kB
view hashes)
Built Distribution
vital-0.2.29-py3-none-any.whl
(12.5 kB
view hashes)