Lightweight abstraction layer for making requests to the HubSpot API
Project description
- Download:
- Sponsored by:
hubspot-connection provides a lightweight abstraction layer for making requests to the HubSpot API.
Here’s an example of how it can be used:
from hubspot.connection import APIKey
from hubspot.connection import PortalConnection
authentication_key = APIKey('HUBSPOT-API-KEY')
with PortalConnection(authentication_key, 'client') as connection:
contacts_data = connection.send_get_request('/contacts/v1/contacts/statistics')
print "Number of contacts: {}".format(contacts_data.get('contacts'))
This project is officially supported under Python 2.7, but may work with Python 2.6 and Python 3.
Version 1.0 Release Candidate 1 (2014-06-23)
This is the first public release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for hubspot-connection-1.0rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6375c5e9fd1fec9a8d8a1d9322f75b157d0e1b9756e0f62d19d063468a6f3d4 |
|
MD5 | 1228bb65bd1a8955f77e43b8053cc001 |
|
BLAKE2b-256 | e68c66ba5f7a7d3dbc2e2b80605e197315608e5e952f610a889ea8ce990e7d8c |
Close
Hashes for hubspot_connection-1.0rc1-py2.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5c45ac703365281200092833316db1b8e387fbc1ae5c782cb63039002526535 |
|
MD5 | 02a63a88ffe2c8f678cfbf89e29b4d3d |
|
BLAKE2b-256 | 2689b7801c66b6d0b57771e87f0f326d83a59862b9b29a5ff988969b12fec7ce |