Skip to main content

Python library to download activities from People.ai's REST API

Project description

peopleai-api

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.2.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

peopleai_api-0.0.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: peopleai-api-0.0.2.tar.gz
  • Upload date:
  • Size: 6.4 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.2.tar.gz
Algorithm Hash digest
SHA256 8c6ea798a957eac2c0c278d7f1fce6453a747fd85d580a435d1a18663b494813
MD5 ced1b8db16763916f05c541157fd086a
BLAKE2b-256 423376aad482f9edbe2ffb63a0a2ca12fe7d17acd4e6dc4f06bf320f497edeb6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: peopleai_api-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 968726d8158acb1746235989c59a8084582b36fd1d97091692640952f0baf882
MD5 66124fb36ef89a074880b7ae7e8f57eb
BLAKE2b-256 695f0e2a3da3e639620a41c4cbf982a269eb475e62c57ff4668579a0ee203a45

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