{"id":22409024,"url":"https://github.com/hubspotwebteam/hs-node-api","last_synced_at":"2025-07-31T20:31:11.162Z","repository":{"id":31868052,"uuid":"129088042","full_name":"HubSpotWebTeam/hs-node-api","owner":"HubSpotWebTeam","description":"A client wrapper for the HubSpot API at https://developers.hubspot.com/docs/overview.","archived":false,"fork":false,"pushed_at":"2023-03-04T05:59:40.000Z","size":2389,"stargazers_count":30,"open_issues_count":11,"forks_count":23,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-11-14T15:49:55.129Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HubSpotWebTeam.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-11T12:10:59.000Z","updated_at":"2024-03-14T04:49:22.000Z","dependencies_parsed_at":"2023-01-14T19:57:31.865Z","dependency_job_id":null,"html_url":"https://github.com/HubSpotWebTeam/hs-node-api","commit_stats":null,"previous_names":[],"tags_count":60,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HubSpotWebTeam%2Fhs-node-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HubSpotWebTeam%2Fhs-node-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HubSpotWebTeam%2Fhs-node-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HubSpotWebTeam%2Fhs-node-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HubSpotWebTeam","download_url":"https://codeload.github.com/HubSpotWebTeam/hs-node-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228295622,"owners_count":17897596,"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":["hacktoberfest"],"created_at":"2024-12-05T12:06:22.168Z","updated_at":"2024-12-05T12:06:22.869Z","avatar_url":"https://github.com/HubSpotWebTeam.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status (Release)](https://github.com/hubspotwebteam/hs-node-api/workflows/Build%20and%20publish%20npm%20package/badge.svg)](https://github.com/HubSpotWebTeam/hs-node-api/actions?workflow=Build+and+publish+npm+package)\n# Hubspot Client API\n\n\u003e ## IMPORTANT!\n\u003e :warning: This package is now deprecated and no longer maintained, please use the [@hubspot/api-client](https://www.npmjs.com/package/@hubspot/api-client) instead.\n\nA client wrapper for the HubSpot API at https://developers.hubspot.com/docs/overview.\n\n## Installation\n\n```\nnpm install --save hubspot-api\n```\n\n## Docs\n\nFull documentation available at https://hubspotwebteam.github.io/hs-node-api/\n\n## Example\n\n```\nconst HubSpotClient = require('hubspot-api');\nconst hs = new HubSpotClient({ hapikey });\n// or const hs = new HubSpotClient({ accessToken });\n// or const hs = new HubSpotClient(); # for public methods, eg. Forms, HubDB\n\nasync function getContact(id){\n  const contact = await hs.contacts.getById(827398123);\n  return contact\n}\n\n// Or using traditional thenable Promises.\nhs.contacts.getById(827398123).then(contact =\u003e {\n  console.log(contact);\n});\n```\n\nEntities available\n\n- Blogs\n- Blog posts\n- Blog authors\n- Blog topics\n- Contacts\n- Contacts Properties (partial implementation)\n- Companies\n- Calendar\n- Deals (partial implementation)\n- Domains\n- Email Events (partial implementation)\n- Engagements (partial implementation)\n- Forms (partial implementation)\n- HubDB (partial implementation)\n- Layouts\n- Page Publishing\n- Social (partial implementation)\n- Workflows\n\nPlease check out the full documentation available at https://hubspotwebteam.github.io/hs-node-api/\n\n## CORS\n\nAt the moment of writing the HubSpot APIs do not support CORS / AJAX requests due to [security reasons](https://developers.hubspot.com/docs/faq/do-hubspot-apis-support-ajax-request), so you must use this library only on a Node.js server.\n\n## Authors and Contributors\n\nCurrently maintained by the lovely folks on HubSpot's Web Team, but we need your help. Please feel free to submit pull requests to add new functionality.\n\n### How to Contribute\n\nContributions are welcome. Please refer to the [contributing guidelines](https://github.com/HubSpotWebTeam/hs-node-api/blob/master/CONTRIBUTING.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhubspotwebteam%2Fhs-node-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhubspotwebteam%2Fhs-node-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhubspotwebteam%2Fhs-node-api/lists"}