All Projects → cyberboysumanjay → Inshorts-News-API

cyberboysumanjay / Inshorts-News-API

Licence: MIT license
Unofficial API of Inshorts written in Flask

Programming Languages

python
139335 projects - #7 most used programming language
Procfile
174 projects

Projects that are alternatives of or similar to Inshorts-News-API

NewsApp
An app that fetches latest news, headlines
Stars: ✭ 28 (-67.82%)
Mutual labels:  news, newsapi
News-API-Kotlin
Access the News API with Kotlin.
Stars: ✭ 35 (-59.77%)
Mutual labels:  news, newsapi
NewsPin
News app for android using Kotlin, coroutines, MVP architecture
Stars: ✭ 25 (-71.26%)
Mutual labels:  news, newsapi
covid19.swift
🌐 Small iOS app to show some COVID-19 health, data, news and tweets
Stars: ✭ 25 (-71.26%)
Mutual labels:  news, newsapi
newsemble
API for fetching data from news websites.
Stars: ✭ 42 (-51.72%)
Mutual labels:  news, newsapi
BoxFeed
News App 📱 built to demonstrate the use of SwiftUI 3 features, Async/Await, CoreData and MVVM architecture pattern.
Stars: ✭ 112 (+28.74%)
Mutual labels:  news, newsapi
HeadLines
HeadLines is a 📰 news app that delivers you with the latest news. It has interactive UI and easy to use. The app can be scrolled offline to watch your bookmarked news. Give this app a try and let me know.
Stars: ✭ 16 (-81.61%)
Mutual labels:  news, newsapi
File-Maker
Generate data files for Wii Channels that have the latest news, forecast data, etc.
Stars: ✭ 65 (-25.29%)
Mutual labels:  news
pinance
Python module(s) to get stock data, options data and news.
Stars: ✭ 70 (-19.54%)
Mutual labels:  news
Indian-government-API-List
A curated list of official APIs owned by government of India.
Stars: ✭ 65 (-25.29%)
Mutual labels:  india
InOut4-landing
Landing page of InOut 4.0
Stars: ✭ 16 (-81.61%)
Mutual labels:  india
PopularNews
📰 News application using the API from newsapi.org
Stars: ✭ 68 (-21.84%)
Mutual labels:  newsapi
ml-ai
ML-AI Community | Open Source | Built in Bharat for the World | Data science problem statements and solutions
Stars: ✭ 32 (-63.22%)
Mutual labels:  india
coronastats
A simple web app which shows updates about COVID-19
Stars: ✭ 18 (-79.31%)
Mutual labels:  news
Online-News-Portal-with-Django
Daily News For You is an online news portal developed by Django and SQLite
Stars: ✭ 45 (-48.28%)
Mutual labels:  news
census-error-analyzer
Analyze the margin of error in U.S. census data
Stars: ✭ 15 (-82.76%)
Mutual labels:  news
pari
Django/Wagtail based PARI webapp
Stars: ✭ 32 (-63.22%)
Mutual labels:  india
NewsHub
News Hub display news of different category (Entertainment, Business, International, Sports, Medical, Technology, Global) and news can be saved as bookmark
Stars: ✭ 16 (-81.61%)
Mutual labels:  news
daily-paper
For viewing a daily issue of the Guardian and Observer newspapers. `main` branch should be stable, current work is in `dev` branch.
Stars: ✭ 23 (-73.56%)
Mutual labels:  news
flutter redux
A Flutter Starter Application
Stars: ✭ 25 (-71.26%)
Mutual labels:  news

Inshorts News API [Unofficial]


This API is capable of fetching news contents from various sources as gathered by Inshorts app.


Show some ❤️ and the repo to support the project

GitHub stars

Twitter Follow

GitHub followers

Telegram Channel


News Categories

This API supports category wise news. Here is a complete list of all categories.

  1. all
  2. national //Indian News only
  3. business
  4. sports
  5. world
  6. politics
  7. technology
  8. startup
  9. entertainment
  10. miscellaneous
  11. hatke
  12. science
  13. automobile

Usage

Make a get request specifying the category of news you want

https://inshorts.deta.dev/news?category={category_name}

Example - https://inshorts.deta.dev/news?category=science


Response Format

The response JSON Object looks something like this -

{
  "category": "technology",
  "data": [
    {
      "author": "Pragya Swastik",
      "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.",
      "date": "15 Mar 2020,Sunday",
      "imageUrl": "https://static.getinpix.com/public/images/v1/variants/jpg/m/2020/03_mar/15_sun/img_1584273701082_423.jpg",
      "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&utm_medium=referral&utm_source=inshorts ",
      "time": "06:17 pm",
      "title": "\nI use a 'dumb phone' that only makes calls & sends texts: 'Breaking Bad' actor\n",
      "url": "https://www.inshorts.com/en/news/i-use-a-dumb-phone-that-only-makes-calls-sends-texts-breaking-bad-actor-1584276455594"
    },
    {
      "author": "Pragya Swastik",
      "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.",
      "date": "16 Mar 2020,Monday",
      "imageUrl": "https://static.getinpix.com/public/images/v1/variants/jpg/m/2020/03_mar/15_sun/img_1584292734587_739.jpg",
      "readMoreUrl": "https://twitter.com/Google/status/1238893403821113344?s=20&utm_campaign=fullarticle&utm_medium=referral&utm_source=inshorts ",
      "time": "07:00 am",
      "title": "\nGoogle shares 5 basic protective measures against coronavirus\n",
      "url": "https://www.inshorts.com/en/news/google-shares-5-basic-protective-measures-against-coronavirus-1584322241969"
    }
    ],
  "success": true
}

Setup

Install all dependencies listed in requirements.txt file.

  1. To install all dependencies run -

    $ sudo -H pip3 install -r requirements.txt
  2. Start the server

    $ python app.py

Apps using this API

Telegram Channel of Inshorts News

Telegram Channel

You can fork the repo and deploy on VPS, Heroku or Vercel :)

Deploy

Deploy to Vercel


the Repo in case you liked it :)

Made with ❤️ in India

© Sumanjay

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].