1.0.1 • Published 5 years ago

api-football-rapidapi v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

api-football-rapidapi

Npm lib for https://www.api-football.com/

How to use.

  • import api-football to your project
import apiFotball from 'api-football-rapidapi';
  • use this format
const rapidapi = new apiFotball('API_KEY');

rapidapi.get('v2/fixtures/live', '?').then((res) => {
    console.log(JSON.stringify(res, true, 1))
})
  • v2/fixtures/live is endPoint (example: v2/timezone, v2/seasons, etc...)
  • ? is paramet (example: league_id, team_id, etc...)

to more information,

instagram: @victorRatts twitter: @RattsVictor Telegram: @VictorRatts