Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Low-Level Connection for HubSpot API Clients

https://travis-ci.org/2degrees/hubspot-connection.png?branch=master https://coveralls.io/repos/2degrees/hubspot-connection/badge.png?branch=master
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

Metadata

Release files for hubspot-connection 1.0rc8.post0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hubspot-connection 1.0rc8.post0
File Size Uploaded
hubspot-connection-1.0rc8.post0.tar.gz 7.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hubspot-connection 1.0rc8.post0
File Interpreter ABI Platform
hubspot_connection-1.0rc8.post0-py2.7.egg Legacy Egg format - - Details

Total release size: 24.4 kB

Release files / hubspot-connection-1.0rc8.post0.tar.gz

Download URL hubspot-connection-1.0rc8.post0.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2b9c4f854d9166b350e44d71fcfaa76f21c625a6c1d756df35a2acda77f3b67e
BLAKE2b-256 checksum
How to use checksums
8b418f6491ba6c8bd9c80001fdec6e78f1889d7be536e07acc1c5f1af580d6dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / hubspot_connection-1.0rc8.post0-py2.7.egg

Download URL hubspot_connection-1.0rc8.post0-py2.7.egg
Size 17.0 kB
Tags Egg
SHA-256 checksum
How to use checksums
a9dff266cc25f78a956432374c267f6e064244aafc5a177628c243c7b1326fc7
BLAKE2b-256 checksum
How to use checksums
c841bd985aeffdf932d30f75aa2ea260228e0c746e8152777bc35a07bacb7565
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page