Metadata-Version: 1.1
Name: hubspot-connection
Version: 1.0rc4
Summary: Lightweight abstraction layer for making requests to the HubSpot API
Home-page: http://pythonhosted.org/hubspot-connection/
Author: 2degrees Limited
Author-email: 2degrees-floss@googlegroups.com
License: BSD (http://dev.2degreesnetwork.com/p/2degrees-license.html)
Description: Low-Level Connection for HubSpot API Clients
        ============================================
        
        .. image:: https://travis-ci.org/2degrees/hubspot-connection.png?branch=master
            :target: https://travis-ci.org/2degrees/hubspot-connection
            :align: right
        
        .. image:: https://coveralls.io/repos/2degrees/hubspot-connection/badge.png?branch=master
            :target: https://coveralls.io/r/2degrees/hubspot-connection?branch=master
            :align: right
        
        :Download: `<http://pypi.python.org/pypi/hubspot-connection>`_
        :Sponsored by: `2degrees Limited <http://dev.2degreesnetwork.com/>`_.
        
        **hubspot-connection** provides a lightweight abstraction layer for making
        requests to the HubSpot API.
        
        Here's an example of how it can be used:
        
        .. code-block:: python
        
            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.
        
        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)
        ++++++++++++++++++++++++++++++++++++++++++++
        
        - Made _HUBSPOT_ERROR_RESPONSE_SCHEMA allow extra keys
        
Keywords: hubspot
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
