{"id":16966959,"url":"https://github.com/cyberboysumanjay/inshorts-news-api","last_synced_at":"2025-04-07T16:18:37.103Z","repository":{"id":38136781,"uuid":"247700168","full_name":"cyberboysumanjay/Inshorts-News-API","owner":"cyberboysumanjay","description":"Unofficial API of Inshorts written in Flask","archived":false,"fork":false,"pushed_at":"2023-09-28T06:20:28.000Z","size":23,"stargazers_count":245,"open_issues_count":8,"forks_count":63,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-31T14:11:46.610Z","etag":null,"topics":["api","flask","india","inshorts","news","news-api","newsapi","python","shortnews"],"latest_commit_sha":null,"homepage":"https://inshorts.deta.dev","language":"Python","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/cyberboysumanjay.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":"2020-03-16T12:46:12.000Z","updated_at":"2025-03-25T15:09:56.000Z","dependencies_parsed_at":"2024-01-31T23:59:43.571Z","dependency_job_id":null,"html_url":"https://github.com/cyberboysumanjay/Inshorts-News-API","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyberboysumanjay%2FInshorts-News-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyberboysumanjay%2FInshorts-News-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyberboysumanjay%2FInshorts-News-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyberboysumanjay%2FInshorts-News-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cyberboysumanjay","download_url":"https://codeload.github.com/cyberboysumanjay/Inshorts-News-API/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247685628,"owners_count":20979085,"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","flask","india","inshorts","news","news-api","newsapi","python","shortnews"],"created_at":"2024-10-14T00:06:52.479Z","updated_at":"2025-04-07T16:18:37.080Z","avatar_url":"https://github.com/cyberboysumanjay.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Inshorts News API [Unofficial]\n\n---\n\nThis API is capable of fetching news contents from various sources as gathered by Inshorts app.\n\n---\n\n### Show some :heart: and :star: the repo to support the project\n\n[![GitHub stars](https://img.shields.io/github/stars/cyberboysumanjay/inshorts-news-api.svg?style=social\u0026label=Star)](https://github.com/cyberboysumanjay/Inshorts-News-API)\n\n[![Twitter Follow](https://img.shields.io/twitter/follow/cyberboysj.svg?style=social)](https://twitter.com/CyberboySj)\n\n![GitHub followers](https://img.shields.io/github/followers/cyberboysumanjay.svg?style=social\u0026label=Follow)\n\n[![Telegram Channel](https://img.shields.io/badge/Telegram-Channel-orange)](https://t.me/sjprojects)\n\n---\n\n## News Categories\n\nThis API supports category wise news. Here is a complete list of all categories.\n\n1. all\n2. national //Indian News only\n3. business\n4. sports\n5. world\n6. politics\n7. technology\n8. startup\n9. entertainment\n10. miscellaneous\n11. hatke\n12. science\n13. automobile\n\n---\n\n## Usage\n\nMake a get request specifying the category of news you want\n\n```\nhttps://inshorts.deta.dev/news?category={category_name}\n```\n\nExample - https://inshorts.deta.dev/news?category=science\n\n---\n\n## Response Format\n\nThe response JSON Object looks something like this -\n\n```JSON\n{\n  \"category\": \"technology\",\n  \"data\": [\n    {\n      \"author\": \"Pragya Swastik\",\n      \"content\": \"American actor Aaron Paul, who portrayed Jesse Pinkman in 'Breaking Bad', revealed that he uses a 'credit card-sized dumb phone' that cannot store any apps and can only make calls and send texts. \\\"There's no camera or emailing,\\\" Paul said, adding that he's planning to buy a flip phone. \\\"I haven't owned a computer in over 10 years,\\\" he added.\",\n      \"date\": \"15 Mar 2020,Sunday\",\n      \"imageUrl\": \"https://static.getinpix.com/public/images/v1/variants/jpg/m/2020/03_mar/15_sun/img_1584273701082_423.jpg\",\n      \"readMoreUrl\": \"https://www.dailymail.co.uk/tvshowbiz/article-8111761/Breaking-Bad-star-Aaron-Paul-reveals-owned-computer-decade-prefers-FLIP-PHONE.html?utm_campaign=fullarticle\u0026utm_medium=referral\u0026utm_source=inshorts \",\n      \"time\": \"06:17 pm\",\n      \"title\": \"\\nI use a 'dumb phone' that only makes calls \u0026 sends texts: 'Breaking Bad' actor\\n\",\n      \"url\": \"https://www.inshorts.com/en/news/i-use-a-dumb-phone-that-only-makes-calls-sends-texts-breaking-bad-actor-1584276455594\"\n    },\n    {\n      \"author\": \"Pragya Swastik\",\n      \"content\": \"Google recently shared five basic protective measures against coronavirus that can be followed by people worldwide. These include washing hands often, coughing into the elbow, not touching the face, staying over three feet apart from others and staying at home on feeling sick. Google engineers are also building a website to screen potential coronavirus patients in the US.\",\n      \"date\": \"16 Mar 2020,Monday\",\n      \"imageUrl\": \"https://static.getinpix.com/public/images/v1/variants/jpg/m/2020/03_mar/15_sun/img_1584292734587_739.jpg\",\n      \"readMoreUrl\": \"https://twitter.com/Google/status/1238893403821113344?s=20\u0026utm_campaign=fullarticle\u0026utm_medium=referral\u0026utm_source=inshorts \",\n      \"time\": \"07:00 am\",\n      \"title\": \"\\nGoogle shares 5 basic protective measures against coronavirus\\n\",\n      \"url\": \"https://www.inshorts.com/en/news/google-shares-5-basic-protective-measures-against-coronavirus-1584322241969\"\n    }\n    ],\n  \"success\": true\n}\n```\n\n---\n\n## Setup\n\nInstall all dependencies listed in _requirements.txt_ file.\n\n1. To install all dependencies run -\n\n   ```bash\n   $ sudo -H pip3 install -r requirements.txt\n   ```\n\n2. Start the server\n\n   ```bash\n   $ python app.py\n   ```\n\n---\n\n## Apps using this API\n\n#### [Telegram Channel](https://telegram.dog/inshortschannel) of Inshorts News\n\n## [![Telegram Channel](https://img.shields.io/endpoint?color=neon\u0026style=flat-square\u0026url=https%3A%2F%2Ftg.sumanjay.workers.dev%2Finshortschannel)](https://telegram.dog/inshortschannel)\n\n### You can fork the repo and deploy on VPS, Heroku or Vercel :)\n\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/cyberboysumanjay/Inshorts-News-API/tree/master)\n\n[![Deploy to Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/cyberboysumanjay/Inshorts-News-API/tree/master)\n\n---\n\n#### :star: the Repo in case you liked it :)\n\n#### Made with :heart: in India\n\n# © [Sumanjay](https://cyberboysumanjay.github.io)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyberboysumanjay%2Finshorts-news-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyberboysumanjay%2Finshorts-news-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyberboysumanjay%2Finshorts-news-api/lists"}