football-news-api

所属分类:Node.js
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2023-12-10 19:16:33
上 传 者sh-1993
说明:  足球新闻聚合器API是一个强大的工具,足球爱好者可以随时了解实时和最新的足球新闻。
(The Football News Aggregator API is a powerful tool for football enthusiasts to stay updated with live and latest football news.)

文件列表:
dist/
functions/
node_modules/
netlify.toml
package-lock.json
package.json

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](https://github.com/arkasarkar2000/football-news-api/blob/master/#endpoints) - [Usage](https://github.com/arkasarkar2000/football-news-api/blob/master/#usage) - [Getting Started](https://github.com/arkasarkar2000/football-news-api/blob/master/#getting-started) - [Contributing](https://github.com/arkasarkar2000/football-news-api/blob/master/#contributing) - [License](https://github.com/arkasarkar2000/football-news-api/blob/master/#license) ## 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: ```bash # 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

近期下载者

相关文件


收藏者