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

Uploaded Source

Built Distribution

peopleai_api-0.0.4-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: peopleai-api-0.0.4.tar.gz
  • Upload date:
  • Size: 6.8 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.4.tar.gz
Algorithm Hash digest
SHA256 12fb2eedfdc5113f6fcd7f129474d396d50970d363758f3e9a27fa7b0e8e8369
MD5 d5e956f19cb3fc6d42a2e34c6ce0c1dd
BLAKE2b-256 514558039ca5d8412afceceff6a94259c60a95d69e3309e11cd48d0d5cd5820a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: peopleai_api-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.6 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 dbb5f72aec801b0236f8a338c8d0204decc7802d9406921a37465e3cebf11b10
MD5 88a51c6d4e6b052981d754ad704fc9a8
BLAKE2b-256 7bd52289b8fecc7bd0d8b827df95bd8d4bb5d60cd31a51c448236491b5240261

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