Python library to download activities from People.ai's REST API
Project description
Python library to download activities from People.ai’s REST API
from peopleai_api import PeopleAIClient
client = PeopleAIClient('<api_key>', '<api_secret>')
job_id = client.start_activities_export(start_date='2020-08-06', end_date='2020-08-06', activity_type='all',
output_format='JSONLines', export_type='delta')
client.check_activities_export(job_id, until_completed=True)
client.download_activities_export(job_id, '/tmp/peopleai-export.json')
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
peopleai-api-0.0.1.tar.gz
(6.1 kB
view hashes)
Built Distribution
Close
Hashes for peopleai_api-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10ffa839d4bd76e6c81f9fec80b511422d14246caf8e5172fceb94fb909762e3 |
|
MD5 | c77b6113737ce19bfc7896a409989beb |
|
BLAKE2b-256 | 7fa8766e8bd4d3892ebef3fd5d4556b455e43f9523f95aa302deb1564ccca9bc |