{"id":28268385,"url":"https://github.com/riskified/hubspot-ruby","last_synced_at":"2026-02-13T14:12:23.495Z","repository":{"id":145526982,"uuid":"52450284","full_name":"Riskified/hubspot-ruby","owner":"Riskified","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-10T17:20:56.000Z","size":893,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":38,"default_branch":"master","last_synced_at":"2025-06-16T19:41:19.464Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/Riskified.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-24T14:55:21.000Z","updated_at":"2025-02-10T17:20:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"7be6baef-b067-434b-840d-ab10c2c45ce7","html_url":"https://github.com/Riskified/hubspot-ruby","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Riskified/hubspot-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Riskified%2Fhubspot-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Riskified%2Fhubspot-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Riskified%2Fhubspot-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Riskified%2Fhubspot-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Riskified","download_url":"https://codeload.github.com/Riskified/hubspot-ruby/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Riskified%2Fhubspot-ruby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272013537,"owners_count":24858474,"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-25T02:00:12.092Z","response_time":1107,"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":"2025-05-20T15:12:44.994Z","updated_at":"2026-02-13T14:12:18.475Z","avatar_url":"https://github.com/Riskified.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HubSpot REST API wrappers for ruby\n\nWraps the HubSpot REST API for convenient access from ruby applications.\n\nDocumentation for the HubSpot REST API can be found here: https://developers.hubspot.com/docs/endpoints\n\n## Setup\n\n    gem install hubspot-ruby\n\nOr with bundler,\n\n```ruby\ngem \"hubspot-ruby\"\n```\n\nBefore using the library, you must initialize it with your HubSpot API key. If you're using Rails, put this code in an\ninitializer:\n\n```ruby\nHubspot.configure(hapikey: \"YOUR_API_KEY\")\n```\n\nIf you're have a HubSpot account, you can get your api key by logging in and visiting this url: https://app.hubspot.com/keys/get\n\n### Note about authentication\n\nFor now, this library only supports authentication with a HubSpot API key (aka \"hapikey\"). OAuth is not yet supported.\n\n## Usage\n\nHere's what you can do for now:\n\n### Create a contact\n\n```ruby\nHubspot::Contact.create!(\"email@address.com\", {firstname: \"First\", lastname: \"Last\"})\n```\n\n### Find a contact\n\nThese methods will return a `Hubspot::Contact` object if successful, `nil` otherwise:\n\n```ruby\nHubspot::Contact.find_by_email(\"email@address.com\")\nHubspot::Contact.find_by_id(12345) # Pass the contact VID\n```\n\n### Update a contact\n\nGiven an instance of `Hubspot::Contact`, update its attributes with:\n\n```ruby\ncontact.update!({firstname: \"First\", lastname: \"Last\"})\n```\n\n## Contributing to hubspot-ruby\n\n* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.\n* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.\n* Fork the project.\n* Start a feature/bugfix branch.\n* Commit and push until you are happy with your contribution.\n* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.\n* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.\n\n### Testing\n\nAll tests can be run with `rake spec`. Isolate fast-running tests with `rake spec:quick`.\n\nGET requests are pretty easy to test with VCR, but for POST/PUT requests, you probably want to update verify the state\nof a live HubSpot instance. To do this, please add \"live\" tests to `spec/live/`, using the rspec label `live: true` in\norder to disable VCR.\n\n\"Live\" tests can be isolated with `rake spec:live`.\n\n## Disclaimer\n\nThis project and the code therein was not created by and is not supported by HubSpot, Inc or any of its affiliates.\n\n## Copyright\n\nCopyright (c) 2013 Omada Health Inc. See LICENSE.txt for further details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friskified%2Fhubspot-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Friskified%2Fhubspot-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friskified%2Fhubspot-ruby/lists"}