{"id":16548121,"url":"https://github.com/mscoutermarsh/heroku-api-examples","last_synced_at":"2026-06-01T06:31:34.921Z","repository":{"id":20616117,"uuid":"23897414","full_name":"mscoutermarsh/heroku-api-examples","owner":"mscoutermarsh","description":"Learn to use the Heroku Platform API gem","archived":false,"fork":false,"pushed_at":"2014-09-30T11:31:03.000Z","size":160,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-25T02:14:59.351Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://mikecoutermarsh.com","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/mscoutermarsh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-11T00:12:54.000Z","updated_at":"2020-08-10T22:22:41.000Z","dependencies_parsed_at":"2022-09-05T17:00:16.725Z","dependency_job_id":null,"html_url":"https://github.com/mscoutermarsh/heroku-api-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mscoutermarsh/heroku-api-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mscoutermarsh%2Fheroku-api-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mscoutermarsh%2Fheroku-api-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mscoutermarsh%2Fheroku-api-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mscoutermarsh%2Fheroku-api-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mscoutermarsh","download_url":"https://codeload.github.com/mscoutermarsh/heroku-api-examples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mscoutermarsh%2Fheroku-api-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33763648,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"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-10-11T19:25:00.633Z","updated_at":"2026-06-01T06:31:34.904Z","avatar_url":"https://github.com/mscoutermarsh.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Heroku API Examples\n===================\nExamples and console for learning/playing with the [Heroku Platform API gem](https://github.com/heroku/platform-api).\n\nRequires Ruby 2.1.2\n\nTo start, clone the repo.  \n```$ git clone https://github.com/mscoutermarsh/heroku-api-examples```\n\nInstall the gems using bundler.  \n```$ bundle install```\n\nOpen up ```console.rb```, edit the API token. Then run  \n```$ ruby console.rb```\n\nThis starts a ruby console for playing around with the Heroku API gem.\n\n## Example (running console.rb):\n\n```\n[1] pry(main)\u003e heroku_api.account.info\nD, [2014-09-14T13:58:05.550769 #11238] DEBUG -- : [httplog] Sending: GET https://api.heroku.com:443/account\nD, [2014-09-14T13:58:05.550856 #11238] DEBUG -- : [httplog] Header: User-Agent: excon/0.39.5\nD, [2014-09-14T13:58:05.550899 #11238] DEBUG -- : [httplog] Header: Accept: application/vnd.heroku+json; version=3\nD, [2014-09-14T13:58:05.550953 #11238] DEBUG -- : [httplog] Header: Authorization: Bearer xxxxdf9-x340-434b-ad23-d9d51b4e7c1d\nD, [2014-09-14T13:58:05.550990 #11238] DEBUG -- : [httplog] Header: Host: api.heroku.com:443\nD, [2014-09-14T13:58:06.177261 #11238] DEBUG -- : [httplog] Status: 200\nD, [2014-09-14T13:58:06.179509 #11238] DEBUG -- : [httplog] Benchmark: 0.628805 seconds\n=\u003e {\"allow_tracking\"=\u003etrue,\n \"beta\"=\u003efalse,\n \"email\"=\u003e\"coutermarsh.mike@gmail.com\",\n \"id\"=\u003e\"d3xxxx23-35e1-4655-b333-f8b33db1e943\",\n \"last_login\"=\u003e\"2014-06-06T01:12:00Z\",\n \"name\"=\u003enil,\n \"two_factor_authentication\"=\u003efalse,\n \"verified\"=\u003etrue,\n \"created_at\"=\u003e\"2010-02-03T03:34:45Z\",\n \"updated_at\"=\u003e\"2014-08-09T19:40:35Z\"}\n ```\n \n For learning purposes, Http request info is displayed above the response. This is done with [httplog](https://github.com/trusche/httplog).\n \n## Need help?\nTweet [@mscccc](http://twitter.com/mscccc)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmscoutermarsh%2Fheroku-api-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmscoutermarsh%2Fheroku-api-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmscoutermarsh%2Fheroku-api-examples/lists"}