{"id":13767543,"url":"https://github.com/2degrees/hubspot-connection","last_synced_at":"2025-08-14T04:13:57.837Z","repository":{"id":15774957,"uuid":"18513989","full_name":"2degrees/hubspot-connection","owner":"2degrees","description":"Low-Level Connection for HubSpot API Clients","archived":false,"fork":false,"pushed_at":"2023-08-11T09:37:55.000Z","size":152,"stargazers_count":7,"open_issues_count":2,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-14T14:46:49.502Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://pythonhosted.org/hubspot-connection/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/2degrees.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-04-07T10:51:14.000Z","updated_at":"2018-05-08T08:49:12.000Z","dependencies_parsed_at":"2024-08-03T16:05:32.729Z","dependency_job_id":null,"html_url":"https://github.com/2degrees/hubspot-connection","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/2degrees/hubspot-connection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2degrees%2Fhubspot-connection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2degrees%2Fhubspot-connection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2degrees%2Fhubspot-connection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2degrees%2Fhubspot-connection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2degrees","download_url":"https://codeload.github.com/2degrees/hubspot-connection/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2degrees%2Fhubspot-connection/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270359851,"owners_count":24570566,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-14T02:00:10.309Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T16:01:09.581Z","updated_at":"2025-08-14T04:13:57.763Z","avatar_url":"https://github.com/2degrees.png","language":"Python","funding_links":[],"categories":["Integrations"],"sub_categories":["Python"],"readme":"Low-Level Connection for HubSpot API Clients\n============================================\n\n.. image:: https://travis-ci.org/2degrees/hubspot-connection.png?branch=master\n    :target: https://travis-ci.org/2degrees/hubspot-connection\n    :align: right\n\n.. image:: https://coveralls.io/repos/2degrees/hubspot-connection/badge.png?branch=master\n    :target: https://coveralls.io/r/2degrees/hubspot-connection?branch=master\n    :align: right\n\n:Download: `\u003chttp://pypi.python.org/pypi/hubspot-connection\u003e`_\n:Sponsored by: `2degrees Limited \u003chttp://dev.2degreesnetwork.com/\u003e`_.\n\n**hubspot-connection** provides a lightweight abstraction layer for making\nrequests to the HubSpot API.\n\nHere's an example of how it can be used:\n\n.. code-block:: python\n\n    from hubspot.connection import APIKey\n    from hubspot.connection import PortalConnection\n\n    authentication_key = APIKey('HUBSPOT-API-KEY')\n    with PortalConnection(authentication_key, 'client') as connection:\n        contacts_data = connection.send_get_request('/contacts/v1/contacts/statistics')\n        print(\"Number of contacts: {}\".format(contacts_data.get('contacts')))\n\n\nThis project is officially supported under Python 2.7 and Python 3.4, may work with Python 2.6.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2degrees%2Fhubspot-connection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2degrees%2Fhubspot-connection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2degrees%2Fhubspot-connection/lists"}