Skip to content

indrapalijama/berita-indo-api

 
 

Repository files navigation

Berita Indo API

An api to display news in Indonesia

berita-indo-api

Dokumentasi untuk bahasa indonesia. Klik disini

Description

Berita Indo API (or in English is Indonesian News API) is an API to display many news Indonesia like from CNN News, CNBC News, etc. For the datas was parsed from the RSS feed to JSON type and also Rest API. For the routes, you can see it below.

List Routes Berita Indo API

  • / : Get all list and info about this API
  • /v1/cnn-news : Get all news data of CNN News
  • /v1/cnn-news/:type : Get specific news data by type news of CNN News
  • /v1/cnbc-news/ : Get all news data of CNBC News
  • /v1/cnbc-news/:type : Get specific news data by type news of CNBC News
  • /v1/republika-news : Get all news data of Republika News
  • /v1/republika-news/:type : Get specific news data by type news of Republika News
  • /v1/tempo-news/ : Get all news data of Tempo News
  • /v1/tempo-news/:type : Get specific news data by type news of Tempo News
  • /v1/antara-news/:type : Get specific news data by type news of Antara News
  • /v1/kumparan-news/ : Get all news data of Kumparan News
  • /v1/okezone-news : Get all news data of Okezone News
  • /v1/okezone-news/:type : Get specific news data by type news of Okezone News
  • /v1/liputan6-news : Get all news data of Liputan 6 News (This RSS feed maybe isn't available again)
  • /v1/bbc-news: Get all news data of BBC News
  • /v1/bbc-news/:type : Get specific news data by type news of BBC News
  • /v1/tribun-news: Get all news data of Tribun News
  • /v1/tribun-news/:zone/:type : Get specific news data by zone and type news of Tribun News
  • /v1/jawa-pos/:type: Get all news data of Jawa Pos News
  • /v1/jawa-pos/:type: Get specific news data by type news of Jawa Pos News
  • /v1/vice/: Get all news data of Vice Indonesia
  • /v1/suara/: Get all news data of SUARA News
  • /v1/suara/:type: Get specific news data by type news of SUARA News
  • /v1/voa/: Get all news data of VOA Indonesia

Each API Endpoint have a query paramaters named 'title', and this query parameters will be useful if you want to search the API data by the title.

To-do List

  • News
    • CNN News
    • CNBC News
    • Republika News
    • Tempo News
    • Antara News
    • Kumparan News
    • Okezone News
    • Liputan 6 News (This RSS feed maybe isn't available again)
    • BBC News
    • Tribun News
    • Jawa Pos News
    • Vice
    • Suara News
    • VOA Indonesia
  • Improve API
    • Search data news
    • Paginate data

Installation

If you want to add this project in your own machine, you can install this project by following the step below

  1. Clone this repository
git clone https://github.com/satyawikananda/berita-indo-api.git
  1. Install dependencies

In my case, i'm using pnpm for package manager, you can adjust with your favorite package manager

pnpm install

To running my program, you can use command ts-node ./api/server.ts in your terminal

Tech Stack

For the tech stack, Berita Indo API was using :

  1. Typescript
  2. Node JS
  3. Express
  4. RSS Parser
  5. Vercel
  6. and many utilities

Showcase

If you use this API to your project application, you can register your project in this showcase below :

Support Me

You can support me on Karya Karsa and Trakteer

Contribution

Want to make this project better? You can contribute this project, I am very open if there are contributions to this project.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


I Gusti Ngurah Satya Wikananda

💻 🚧 🐛 🤔 📖

Galanggg

💻 🤔

Akhmad Salafudin

💻 🐛 🤔

Enggar Tivandi

💻

Danar Noverawan

💻 📖

Indra Palijama

💻 📖

This project follows the all-contributors specification. Contributions of any kind welcome!


forthebadge forthebadge vercelbadge

Powered by Typescipt and vercel. Code licensed under MIT License.

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.9%
  • Shell 0.1%