Skip to content

Instantly share code, notes, and snippets.

@itsderek23
Created April 11, 2019 22:38
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/b3529597ea9d87b8018127a73df1f0ae to your computer and use it in GitHub Desktop.
Save itsderek23/b3529597ea9d87b8018127a73df1f0ae to your computer and use it in GitHub Desktop.
users_list = []
count = 1
for user in intercom.users.all():
users_list.append(user.to_dict())
if (count % 200 == 0 ):
print("Added user", count, "of", total)
if (count % 1000 == 0):
print(intercom.rate_limit_details)
count = count + 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment