A sportsdata.io API client specific to golf
npm:
npm install sportsdata-golf
yarn:
yarn add sportsdata-golf
const Golf = require('sportsdata-golf');
const golf = new Golf();
const schedule = await golf.schedule();
const players = await golf.players();
const player = await golf.player({ playerid: 40004412 });
SPORTSDATA_API_KEY
- sportsdata.io API key
https://sportsdata.io/developers/api-documentation/golf
MIT