예제 #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()