{"id":15723451,"url":"https://github.com/ibodev1/hackernews","last_synced_at":"2025-04-30T16:07:36.850Z","repository":{"id":197482361,"uuid":"698728607","full_name":"ibodev1/hackernews","owner":"ibodev1","description":"HackerNews API | Y Combinator News API","archived":false,"fork":false,"pushed_at":"2024-09-22T10:28:48.000Z","size":27,"stargazers_count":19,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-25T10:37:29.577Z","etag":null,"topics":["api","deno","hackernews","hackernews-api","hono","rest-api","ycombinator"],"latest_commit_sha":null,"homepage":"https://hacker-news.deno.dev/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ibodev1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-30T19:26:25.000Z","updated_at":"2024-09-30T08:36:27.000Z","dependencies_parsed_at":"2024-06-29T19:21:09.392Z","dependency_job_id":"82e22afb-1487-4816-a2b6-a0f9e62dff02","html_url":"https://github.com/ibodev1/hackernews","commit_stats":null,"previous_names":["ibodev1/hackernews"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibodev1%2Fhackernews","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibodev1%2Fhackernews/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibodev1%2Fhackernews/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibodev1%2Fhackernews/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibodev1","download_url":"https://codeload.github.com/ibodev1/hackernews/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251738892,"owners_count":21635890,"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":["api","deno","hackernews","hackernews-api","hono","rest-api","ycombinator"],"created_at":"2024-10-03T22:11:42.931Z","updated_at":"2025-04-30T16:07:36.825Z","avatar_url":"https://github.com/ibodev1.png","language":"TypeScript","readme":"# HackerNews API\n\nIn this project, firebase, published officially by Y Combinator, was connected to the remote database and the data was made available with api.\n\nOfficial Repo : [github.com/HackerNews/API](https://github.com/HackerNews/API)\n\n## Development\n\nThis project is written in [Deno](https://deno.land/). [Hono](https://hono.dev/) library is used to prepare the api router. To run the project on your own\ncomputer you need to download Deno and then run the following bash code in the terminal.\n\n```bash\ndeno task start\n```\n\n## API Using\n\nThe first 30 pages of the 500 top stories of the homepage come in a paginated form. you can paginate by adding the following queries from the url or you can\nbring data from the page you want.\n\n```http\nGET /?page=1\u0026limit=30\n```\n\nExample Url : [https://hacker-news.deno.dev/?page=1\u0026limit=30](https://hacker-news.deno.dev/?page=1\u0026limit=30)\n\n| Query | Default |\n| ----- | ------- |\n| page  | 1       |\n| limit | 30      |\n\n---\n\n### Get Stories By Type\n\n```http\nGET /{{storyType}}\n```\n\n| Story Types |\n| ----------- |\n| topstories  |\n| newstories  |\n| beststories |\n| askstories  |\n| showstories |\n| jobstories  |\n\nExample Url : [https://hacker-news.deno.dev/newstories](https://hacker-news.deno.dev/newstories)\n\n---\n\n### Get Item\n\n```http\nGET /item/{{itemId}}\n```\n\nExample Url : [https://hacker-news.deno.dev/item/37719016](https://hacker-news.deno.dev/item/37719016)\n\n---\n\n### Get User\n\n```http\nGET /user/{{userName}}\n```\n\nExample Url : [https://hacker-news.deno.dev/user/ibodev](https://hacker-news.deno.dev/user/ibodev)\n\n---\n\n### Get User Submitted\n\n```http\nGET /user/{{userName}}/submitted?page=1\u0026limit=30\n```\n\nExample Url : [https://hacker-news.deno.dev/user/ibodev/submitted?page=1\u0026limit=30](https://hacker-news.deno.dev/user/ibodev/submitted?page=1\u0026limit=30)\n\n---\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibodev1%2Fhackernews","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibodev1%2Fhackernews","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibodev1%2Fhackernews/lists"}