Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 1.37 KB

File metadata and controls

57 lines (38 loc) · 1.37 KB

od_python.ReplaysApi

All URIs are relative to https://api.opendota.com/api

Method HTTP request Description
replays_get GET /replays GET /replays

replays_get

list[InlineResponse20028] replays_get(match_id)

GET /replays

Get data to construct a replay URL with

Example

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.ReplaysApi()
match_id = 56 # int | Match IDs (array)

try: 
    # GET /replays
    api_response = api_instance.replays_get(match_id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReplaysApi->replays_get: %s\n" % e)

Parameters

Name Type Description Notes
match_id int Match IDs (array)

Return type

list[InlineResponse20028]

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]