All URIs are relative to https://api.opendota.com/api
Method | HTTP request | Description |
---|---|---|
admin_api_metrics_get | GET /admin/apiMetrics | GET /admin/apiMetrics |
status_get | GET /status | GET /status |
object admin_api_metrics_get()
GET /admin/apiMetrics
Get API request metrics
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.StatusApi()
try:
# GET /admin/apiMetrics
api_response = api_instance.admin_api_metrics_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling StatusApi->admin_api_metrics_get: %s\n" % e)
This endpoint does not need any parameter.
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 status_get()
GET /status
Get current service statistics
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.StatusApi()
try:
# GET /status
api_response = api_instance.status_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling StatusApi->status_get: %s\n" % e)
This endpoint does not need any parameter.
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]