Games

Games endpoint documentation

Retrieve game IDs

POST /games

Retrieve all game IDs for a given sport - used to later retrieve odds or markets from each game.

Body

Name
Type
Description
Required

api_key

string

your API key

league

string

league of games

starts_before

string

yyyy-mm-dd include only games starting before date

starts_after

string

yyyy-mm-dd include only games starting after date

Python Example

import requests

body = {
    "api_key": "XXXX-XXXX-XXXX",
    "league": "NBA",
    "starts_before": "2024-04-29",
    "starts_after": "2024-04-28"
}

response = requests.post("https://api.propprofessor.com/games", json=body)

Response

Last updated