1.2.3 • Published 6 years ago
football-matches v1.2.3
football-matches
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
Pablo Varela |