Skip to content

shaunwarman/sportsdata-golf

Repository files navigation

sportsdata-golf

build status code coverage code style styled with prettier made with lass license npm downloads

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

About

A simple nodejs client wrapper over sportsdata.io golf API

Resources

License

Stars

Watchers

Forks

Packages

No packages published