JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q42652F
  • License MIT

Matches info of your favorite football/soccer team

Package Exports

  • football-matches

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (football-matches) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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