Skip to content

the-sportsq/go-sport-data

Repository files navigation

go-sport-data

go-sport-data is a wrapper for Sport Data API

Examples

Get Matches

matches, err := gsd.GetMatches(352)

Get Teams

teams, err := gsd.GetTeams(48)

Running Tests

Copy example .env file, and set your Sport Data API key:

cp env.example .env
vi .env

Then you should be good to run all tests with the command:

go test