Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

football-matches

1.2.3 • Public • Published

football-matches

When is your favorite football/soccer team gonna play?

Work In Progress. Just Real Madrid matches at this moment

Install

npm install football-matches

Usage

API key

You need a free API key from football-data.org

Example

const getMatches = require('football-matches')
const realMadridMatches = await getMatches('real madrid', { apiKey: myKey })
//=> [...]

Options

getMatches(team, {
  apiKey: '',   // Your personal API key
  played: false // filter matches already played
})

License

MIT

Author

me
Pablo Varela

Install

npm i football-matches

DownloadsWeekly Downloads

1

Version

1.2.3

License

MIT

Last publish

Collaborators

  • avatar