{"id":20977295,"url":"https://github.com/2degrees/hubspot-contacts","last_synced_at":"2025-05-14T14:32:07.528Z","repository":{"id":14351117,"uuid":"17060705","full_name":"2degrees/hubspot-contacts","owner":"2degrees","description":"Python Library to Manage Contacts via the HubSpot API","archived":false,"fork":false,"pushed_at":"2017-11-13T11:24:13.000Z","size":209,"stargazers_count":12,"open_issues_count":3,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-04-16T01:25:20.014Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://pythonhosted.org/hubspot-contacts/","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}},"created_at":"2014-02-21T15:37:55.000Z","updated_at":"2022-05-16T09:24:17.000Z","dependencies_parsed_at":"2022-09-05T03:20:29.236Z","dependency_job_id":null,"html_url":"https://github.com/2degrees/hubspot-contacts","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2degrees%2Fhubspot-contacts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2degrees%2Fhubspot-contacts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2degrees%2Fhubspot-contacts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2degrees%2Fhubspot-contacts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2degrees","download_url":"https://codeload.github.com/2degrees/hubspot-contacts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225297832,"owners_count":17452010,"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","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-11-19T04:58:13.266Z","updated_at":"2024-11-19T04:58:13.852Z","avatar_url":"https://github.com/2degrees.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Python Library to Manage Contacts via the HubSpot API\n=====================================================\n\n.. image:: https://travis-ci.org/2degrees/hubspot-contacts.svg?branch=master\n    :target: https://travis-ci.org/2degrees/hubspot-contacts\n    :align: right\n\n.. image:: https://coveralls.io/repos/2degrees/hubspot-contacts/badge.png?branch=master\n    :target: https://coveralls.io/r/2degrees/hubspot-contacts?branch=master\n    :align: right\n\n:Download: `\u003chttp://pypi.python.org/pypi/hubspot-contacts\u003e`_\n:Sponsored by: `2degrees Limited \u003chttp://dev.2degreesnetwork.com/\u003e`_.\n\n**hubspot-contacts** is a high-level, Pythonic wrapper for `HubSpot API\n\u003chttp://developers.hubspot.com/docs/endpoints\u003e`_ methods in the `Contacts\n\u003chttp://developers.hubspot.com/docs/endpoints#contacts-api\u003e`_, `Contact Lists\n\u003chttp://developers.hubspot.com/docs/endpoints#contact-lists-api\u003e`_ and\n`Contact Properties\n\u003chttp://developers.hubspot.com/docs/endpoints#contact-properties-api\u003e`_ APIs.\n\nHere's an example of how it can be used::\n\n    \u003e\u003e\u003e from hubspot.connection import APIKey, PortalConnection\n    \u003e\u003e\u003e from hubspot.contacts import Contact\n    \u003e\u003e\u003e from hubspot.contacts.lists import get_all_contacts\n    \u003e\u003e\u003e \n    \u003e\u003e\u003e authentication_key = APIKey(\"your key\")\n    \u003e\u003e\u003e \n    \u003e\u003e\u003e with PortalConnection(authentication_key, \"Your App Name\") as connection:\n    ...     for contact in get_all_contacts(connection):\n    ...         print contact\n    ... \n    Contact(vid=1, email_address=u'foo@example.com', properties={u'lastname': u'Smith', u'company': u'ACME Ltd.', u'firstname': u'John', u'lastmodifieddate': datetime.datetime(2014, 5, 30, 15, 32, 7, 192000)}, related_contact_vids=[])\n    Contact(vid=2, email_address=u'bar@example.com', properties={u'lastname': u'Doe', u'company': u'Example Inc.', u'firstname': u'Alice', u'lastmodifieddate': datetime.datetime(2014, 5, 29, 15, 37, 52, 447000)}, related_contact_vids=[])\n\nThis project is officially supported under Python 2.7, but may work with\nPython 2.6 and Python 3.\n\n**hubspot-contacts** depends on `hubspot-connection\n\u003chttp://pythonhosted.org/hubspot-connection\u003e`_, a separate library\nthat abstracts the low-level communication with HubSpot and takes care of\nauthentication, among other things.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2degrees%2Fhubspot-contacts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2degrees%2Fhubspot-contacts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2degrees%2Fhubspot-contacts/lists"}