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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: peopleai-api-0.0.3.tar.gz
  • Upload date:
  • Size: 6.7 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.3.tar.gz
Algorithm Hash digest
SHA256 eb21396cee99957f9f880d3205d4d1b3977d6405a31b44501feeb266fdf65396
MD5 94e40d70cb84d1900bd6e013cbf12ddf
BLAKE2b-256 1648ae330aed7e09d1e9cf1a1558ae0d0150b3832a49ed931641a7c696550cd7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: peopleai_api-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b724d28d77e8d21efcc89ea6801b74ad3913108bbd4a128437c3632a6d09dd55
MD5 3c7e1cd6266e0af1985d0d59753a365c
BLAKE2b-256 73e55d1d2745b56b2308d9294e26a9bd2cf2212d6be7ddaf7aca991add966a76

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