1.0.2 • Published 6 months ago

football-data-node v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

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.

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago