football-data-node

1.0.2 • Public • Published

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.

Package Sidebar

Install

npm i football-data-node

Weekly Downloads

3

Version

1.0.2

License

MIT

Unpacked Size

18.7 kB

Total Files

9

Last publish

Collaborators

  • jesseck