Skip to main content

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 details)

Uploaded Source

Built Distribution

peopleai_api-0.0.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file peopleai-api-0.0.1.tar.gz.

File metadata

  • Download URL: peopleai-api-0.0.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.3

File hashes

Hashes for peopleai-api-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a14202de88e756a95b7e242ed54956755e37d9392a72cfbf94bf8c21c614bcf0
MD5 1e3da7140e411c04b70c78b4a2915f1a
BLAKE2b-256 94a02e9b54f898aea5c433c2e057cbabf74eff2d8366e55133b30ba90078ec69

See more details on using hashes here.

File details

Details for the file peopleai_api-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: peopleai_api-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.3

File hashes

Hashes for peopleai_api-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 10ffa839d4bd76e6c81f9fec80b511422d14246caf8e5172fceb94fb909762e3
MD5 c77b6113737ce19bfc7896a409989beb
BLAKE2b-256 7fa8766e8bd4d3892ebef3fd5d4556b455e43f9523f95aa302deb1564ccca9bc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page