SportsDataIO

Golf v2

Golf v2 endpoints from SportsDataIO

Media & content#openapi#entertainment

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Golf v2 endpoints from SportsDataIO

Endpoints 15

  • GETCurrent Season/:format/CurrentSeason
  • GETDFS Slates/:format/DfsSlatesByTournament/:tournamentid
  • GETInjuries/:format/Injuries
  • GETInjuries (Historical)/:format/InjuriesByHistorical
  • GETLeaderboard/:format/Leaderboard/:tournamentid
  • GETNews/:format/News
  • GETNews by Date/:format/NewsByDate/:date
  • GETNews by Player/:format/NewsByPlayerID/:playerid
  • GETPlayer/:format/Player/:playerid
  • GETPlayer Season Stats (w/ World Golf Rankings)/:format/PlayerSeasonStats/:season
  • GETPlayer Tournament Projected Stats (w/ DraftKings Salaries)/:format/PlayerTournamentProjectionStats/:tournamentid
  • GETPlayer Tournament Stats By Player/:format/PlayerTournamentStatsByPlayer/:tournamentid/:playerid
  • GETPlayers/:format/Players
  • GETSchedule/:format/Tournaments
  • GETSchedule by Season/:format/Tournaments/:season

API details

Base URL
http://azure-api.sportsdata.io/golf/v2
https://azure-api.sportsdata.io/golf/v2
Authentication
An API key in the Ocp-Apim-Subscription-Key header
An API key in the key query parameter
Operations
15 operations on 15 pathsGET 15
Response formats
application/json
Description format
OpenAPI 3.0.0, API version 1.0
Listed from
APIs.guru OpenAPI Directory (CC0-1.0)
Source updated

How to test the Golf v2 in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Golf v2 collection, without the publisher's secrets.
  3. Add your credentialsThis API uses an API key in the Ocp-Apim-Subscription-Key header. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Current Season” (GET /:format/CurrentSeason), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Golf v2?

Golf v2 endpoints from SportsDataIO It is listed under Media & content and has 15 endpoints.

Who publishes the Golf v2?

It is listed from SportsDataIO's public API description (an OpenAPI document), not published by SportsDataIO on Swastik Codes. Anyone who controls sportsdata.io can claim the profile by adding a DNS TXT record.

What is the base URL of the Golf v2?

Its description lists 2 base URLs: http://azure-api.sportsdata.io/golf/v2, https://azure-api.sportsdata.io/golf/v2. The first is the usual one; the others are typically sandbox or regional servers.

How do I authenticate with the Golf v2?

It accepts 2 methods: an API key in the Ocp-Apim-Subscription-Key header; an API key in the key query parameter.

How many endpoints does the Golf v2 have?

15 operations on 15 paths (15 GET).

Is forking the Golf v2 free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.