Skip to content

simple python wrapper for pulling data from the chorus.ai API

License

Notifications You must be signed in to change notification settings

andyoneal/pychorusai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pychorusai

simple python wrapper for pulling data from the chorus.ai API. Intended for bulk downloads by date. Returns raw json from API.

Supports these objects:

  • Engagements
  • Emails
  • Playlists
  • Users
  • Scorecards
  • External Moments

Does not support:

  • modifying, deleting, or adding records
  • pulling individual records
  • filtering on records by anything except min/max date

usage:

from pychorusai import chorusai

c = chorusai(token = 'abc123')

# Get all users
c.getUsers()

# Iterate through pages of Playlists
for page in c.getPlaylists():
	print(page)
	
# Iterate through pages of Engagements (including trackers) after a specific date
for page in c.getEngagements(min_date = '2022-03-25T00:00:00.000Z', with_trackers = True):
	print(page)
	

About

simple python wrapper for pulling data from the chorus.ai API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages