football-data-node
v1.0.2
Published
A node.js client to football-data.org
Downloads
4
Readme
football-data-node
A node.js client to football data v4 API.
For more information about the API, see Documentation.
Installation
npm install football-data-node
RESTful APIs
import Client from "football-data-node";
import { leagues } from "football-data-node";
const apiToken = "";
const football = new Client(apiToken);
// get standing table of Premier leauge for the 2021/2022 season
football
.standingsOfCompetition(leagues.Premier_League, { season: 2021 })
.then((resp) => console.log(resp));
Please find examples
folder to check for more endpoints.