Skip to content

Instantly share code, notes, and snippets.

@itsderek23
Created April 11, 2019 22:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save itsderek23/8e48bd753be01f74e329c83de5b14c54 to your computer and use it in GitHub Desktop.
Save itsderek23/8e48bd753be01f74e329c83de5b14c54 to your computer and use it in GitHub Desktop.
!pip install python-intercom
API_TOKEN = 'YOUR KEY'
import intercom
from intercom.client import Client
intercom = Client(personal_access_token=API_TOKEN)
total = intercom.counts.for_app().user['count']
print("Number of users to export:",total)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment