コード例 #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()