This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Lightweight abstraction layer for making requests to the HubSpot API

Project Description
Download:http://pypi.python.org/pypi/hubspot-connection
Sponsored by:2degrees Limited.

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 and Python 3.4, may work with Python 2.6.

Version 1.0 Release Candidate 1 (2014-06-23)

This is the first public release.

Version 1.0 Release Candidate 2 (2014-07-14)

  • Added content-type=’application/json’ for requests with body

Version 1.0 Release Candidate 3 (2014-09-15)

  • Made content-type mandatory only when content is expected

Version 1.0 Release Candidate 4 (2015-02-18)

  • Allowed for extra details in error responses from Hubspot

Version 1.0 Release Candidate 5 (2016-03-18)

  • Added Python 3.4 and 3.5 compatibility by: @jtprince
Release History

Release History

This version
History Node

1.0rc8.post0

History Node

1.0rc8

History Node

1.0rc5

History Node

1.0rc4

History Node

1.0rc3

History Node

1.0rc2

History Node

1.0rc1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
hubspot_connection-1.0rc8.post0-py2.7.egg (17.0 kB) Copy SHA256 Checksum SHA256 2.7 Egg Aug 16, 2016
hubspot-connection-1.0rc8.post0.tar.gz (7.4 kB) Copy SHA256 Checksum SHA256 Source Aug 16, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting