Giter Site home page Giter Site logo

arkasarkar2000 / football-news-api Goto Github PK

View Code? Open in Web Editor NEW
11.0 1.0 0.0 1.73 MB

The Football News Aggregator API is a powerful tool for football enthusiasts to stay updated with live and latest football news.

JavaScript 100.00%
api-rest cheerio football-api football-data newsapi nodejs sports-analytics

football-news-api's Introduction

RapidAPI link: https://rapidapi.com/arkasarkar2000/api/football-news-aggregator-live

Football News API

A Football News API that scrapes news data from various football websites using Cheerio and provides endpoints for users to fetch the latest football news. The API supports CORS and is built using Node.js, Cheerio, Axios, and Express.

Table of Contents

Endpoints

The API provides the following endpoints:

  • /news: Get the list of websites from where news is coming.
  • /news/onefootball: Get the latest football news from OneFootball.
  • /news/espn: Get the latest football news from ESPN. [Provides Images of the news]
  • /news/90mins: Get the latest football news from 90mins. [Provides Images of the news]
  • /news/goal: Get the latest football news from Goal. [Provides Images of the news]

Usage

Users can fetch the latest football news from multiple sources using the provided endpoints. The data is scraped in real-time from popular football news websites.

Here's an example of how to use the API using cURL:

# Get the list of websites
curl https://footballnewsapi.netlify.app/.netlify/functions/api/news

# Get the latest football news from OneFootball
curl https://footballnewsapi.netlify.app/.netlify/functions/api/news/onefootball

# Get the latest football news from ESPN
curl https://footballnewsapi.netlify.app/.netlify/functions/api/news/espn

# Get the latest football news from 90mins
curl https://footballnewsapi.netlify.app/.netlify/functions/api/news/90mins

# Get the latest football news from Goal
curl https://footballnewsapi.netlify.app/.netlify/functions/api/news/goal

football-news-api's People

Contributors

arkasarkar2000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.