Пример #1
0
def hubspot_auth_handler():
	api = HubspotAPI()
	return redirect(api.auth_url())
Пример #2
0
def hubspot_search_handler():
	api = HubspotAPI()
	return api.search_contacts()
Пример #3
0
def hubspot_create_contact_handler():
	api = HubspotAPI()
	return api.create_contact()
Пример #4
0
def hubspot_contacts_handler():
	api = HubspotAPI()
	return api.get_contacts()