All URIs are relative to https://api.opendota.com/api
| Method | HTTP request | Description |
|---|---|---|
| request_job_id_get | GET /request/{jobId} | GET /request/{jobId} |
| request_match_id_post | POST /request/{match_id} | POST /request/{match_id} |
object request_job_id_get(job_id)
GET /request/{jobId}
Get parse request state
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.RequestApi()
job_id = 'job_id_example' # str | The job ID to query.
try:
# GET /request/{jobId}
api_response = api_instance.request_job_id_get(job_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling RequestApi->request_job_id_get: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| job_id | str | The job ID to query. |
object
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object request_match_id_post(match_id)
POST /request/{match_id}
Submit a new parse request
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.RequestApi()
match_id = 56 # int |
try:
# POST /request/{match_id}
api_response = api_instance.request_match_id_post(match_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling RequestApi->request_match_id_post: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| match_id | int |
object
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]