Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 1.4 KB

ExplorerApi.md

File metadata and controls

57 lines (38 loc) · 1.4 KB

od_python.ExplorerApi

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

Method HTTP request Description
explorer_get GET /explorer GET /explorer

explorer_get

object explorer_get(sql=sql)

GET /explorer

Submit arbitrary SQL queries to the database

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.ExplorerApi()
sql = 'sql_example' # str | The PostgreSQL query as percent-encoded string. (optional)

try: 
    # GET /explorer
    api_response = api_instance.explorer_get(sql=sql)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ExplorerApi->explorer_get: %s\n" % e)

Parameters

Name Type Description Notes
sql str The PostgreSQL query as percent-encoded string. [optional]

Return type

object

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]