{"id":35038070,"url":"https://github.com/fteem/hackernews_api","last_synced_at":"2026-05-21T11:31:18.477Z","repository":{"id":21640601,"uuid":"24961253","full_name":"fteem/hackernews_api","owner":"fteem","description":"I hug HN's API. Using Ruby.","archived":false,"fork":false,"pushed_at":"2014-10-09T00:06:16.000Z","size":152,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-28T21:59:07.557Z","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/fteem.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":null,"security":null,"support":null}},"created_at":"2014-10-08T21:13:36.000Z","updated_at":"2014-10-09T00:06:56.000Z","dependencies_parsed_at":"2022-08-17T18:35:27.243Z","dependency_job_id":null,"html_url":"https://github.com/fteem/hackernews_api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fteem/hackernews_api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fteem%2Fhackernews_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fteem%2Fhackernews_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fteem%2Fhackernews_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fteem%2Fhackernews_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fteem","download_url":"https://codeload.github.com/fteem/hackernews_api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fteem%2Fhackernews_api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33299052,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T02:57:32.698Z","status":"ssl_error","status_checked_at":"2026-05-21T02:57:31.990Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-12-27T08:04:00.815Z","updated_at":"2026-05-21T11:31:18.445Z","avatar_url":"https://github.com/fteem.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HackernewsApi\n\nThis is a tiny gem that wraps around HN's API.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'hackernews_api'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install hackernews_api\n\n## Usage\n\nFetching users by id:\n```ruby\nUser.fetch(123)\n```\nFetching stories:\n```ruby\nStory.fetch(123)\n```\nFetching comment:\n```ruby\nComment.fetch(123\n```\nFetching poll:\n```ruby\nPoll.fetch(123)\n```\n\nAll of the fetch actions return adequate entities based on the fetch.\nFor example, ```Story.fetch(\u003csome-id-here\u003e)``` will return a ```Story``` object.\n\n## Versioning\nThe gem version will **always** follow the API version. Right now, while the API is v0, the gem will have a version of 0.x.x.\nWhen YC update the API, the new gem will be released under the same version.\n\n## Contributing\n\n1. Fork it ( http://github.com/fteem/hackernews_api/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffteem%2Fhackernews_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffteem%2Fhackernews_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffteem%2Fhackernews_api/lists"}