{"id":19251175,"url":"https://github.com/oshekharo/news-api","last_synced_at":"2025-08-04T01:36:48.266Z","repository":{"id":179347637,"uuid":"663326432","full_name":"OshekharO/News-API","owner":"OshekharO","description":"This is a simple server that serves as a unified API endpoint for fetching news from different sources. Currently, it supports AnimeNewsNetwork and Inshorts.","archived":false,"fork":false,"pushed_at":"2024-06-16T16:04:56.000Z","size":205,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-06-16T18:06:52.938Z","etag":null,"topics":["animenewsnetwork","api","consumet-api","gifs","ifsc","inshorts-api","lyrics","memes","news","newsapi","pixiv","radio","ringtone","slok","torrent","wallpaper"],"latest_commit_sha":null,"homepage":"https://news-api-six-navy.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OshekharO.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-07-07T03:58:23.000Z","updated_at":"2024-06-16T16:08:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"24b276dd-b58b-4739-8228-527d07af2b98","html_url":"https://github.com/OshekharO/News-API","commit_stats":null,"previous_names":["oshekharo/news-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OshekharO%2FNews-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OshekharO%2FNews-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OshekharO%2FNews-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OshekharO%2FNews-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OshekharO","download_url":"https://codeload.github.com/OshekharO/News-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223865254,"owners_count":17216485,"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":["animenewsnetwork","api","consumet-api","gifs","ifsc","inshorts-api","lyrics","memes","news","newsapi","pixiv","radio","ringtone","slok","torrent","wallpaper"],"created_at":"2024-11-09T18:20:36.422Z","updated_at":"2024-11-09T18:20:37.034Z","avatar_url":"https://github.com/OshekharO.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# News API\n\nThis is a simple server that serves as a unified API endpoint for fetching news from different sources. Currently, it supports AnimeNewsNetwork, Inshorts and some other sources.\n\nThe server is built using Node.js and Express and is hosted on Vercel.\n\n## Endpoints\n\n- `https://news-api.cyclic.app`\n\n## Response\n\nThe server responds with a JSON object containing the news data. The structure of the data varies depending on the source.\n\nFor AnimeNewsNetwork, the data includes title, topics, preview, url, and thumbnail. For Inshorts, the data includes title, subtitle, content, sourceUrl, imageUrl, and other fields.\n\n## Usage\n\nYou can use this server as a backend for a news app or website. Simply send a GET request to the appropriate endpoint to fetch news from that source.\n\nExample using JavaScript's fetch API to fetch news from AnimeNewsNetwork:\n\n```javascript\nfetch('https://news-api-six-navy.vercel.app/api/news/ann')\n  .then(response =\u003e response.json())\n  .then(data =\u003e console.log(data));\n```\n\n## Acknowledgements\n\n- OpenAI GPT-4: for code review and suggestions\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foshekharo%2Fnews-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foshekharo%2Fnews-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foshekharo%2Fnews-api/lists"}