sportsdata-golf
A sportsdata.io API client specific to golf
Table of Contents
Install
npm:
npm install sportsdata-golf
yarn:
yarn add sportsdata-golf
Usage
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 });
Environment Variables
-
SPORTSDATA_API_KEY
- sportsdata.io API key
API Documentation
https://sportsdata.io/developers/api-documentation/golf
License
MIT