You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I get the contact list from hub sport it gets them in a large dataset since the project I'm working on has a lot of contacts like over 2000. How do I paginate this?
@api.route("/hubspot/contacts/")
@cross_origin(supports_credentials=True)
def getHubspotContacts():
"""Gets a list of the clients we have in hubspot"""
API_KEY = "api-key"
hb_client = Hubspot3(api_key=API_KEY)
contacts = hb_client.contacts.get_all()
# display = contacts[range_val:(range_val+20)]
return jsonify(contacts)
The text was updated successfully, but these errors were encountered:
When I get the contact list from hub sport it gets them in a large dataset since the project I'm working on has a lot of contacts like over 2000. How do I paginate this?
The text was updated successfully, but these errors were encountered: