Exemplo n.º 1
0
def hubspot_auth_handler():
	api = HubspotAPI()
	return redirect(api.auth_url())
Exemplo n.º 2
0
def hubspot_search_handler():
	api = HubspotAPI()
	return api.search_contacts()
Exemplo n.º 3
0
def hubspot_create_contact_handler():
	api = HubspotAPI()
	return api.create_contact()
Exemplo n.º 4
0
def hubspot_contacts_handler():
	api = HubspotAPI()
	return api.get_contacts()