Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 1.32 KB

File metadata and controls

57 lines (38 loc) · 1.32 KB

od_python.SearchApi

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

Method HTTP request Description
search_get GET /search GET /search

search_get

list[InlineResponse20018] search_get(q)

GET /search

Search players by personaname.

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.SearchApi()
q = 'q_example' # str | Search string

try: 
    # GET /search
    api_response = api_instance.search_get(q)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SearchApi->search_get: %s\n" % e)

Parameters

Name Type Description Notes
q str Search string

Return type

list[InlineResponse20018]

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]