All URIs are relative to https://api.opendota.com/api
Method | HTTP request | Description |
---|---|---|
public_matches_get | GET /publicMatches | GET /publicMatches |
list[InlineResponse20015] public_matches_get(mmr_ascending=mmr_ascending, mmr_descending=mmr_descending, less_than_match_id=less_than_match_id)
GET /publicMatches
Get list of randomly sampled public matches
from __future__ import print_function
import time
import od_python
from od_python.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = od_python.PublicMatchesApi()
mmr_ascending = 56 # int | Order by MMR ascending (optional)
mmr_descending = 56 # int | Order by MMR descending (optional)
less_than_match_id = 56 # int | Get matches with a match ID lower than this value (optional)
try:
# GET /publicMatches
api_response = api_instance.public_matches_get(mmr_ascending=mmr_ascending, mmr_descending=mmr_descending, less_than_match_id=less_than_match_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling PublicMatchesApi->public_matches_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
mmr_ascending | int | Order by MMR ascending | [optional] |
mmr_descending | int | Order by MMR descending | [optional] |
less_than_match_id | int | Get matches with a match ID lower than this value | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]