All URIs are relative to https://api.opendota.com/api
| Method | HTTP request | Description |
|---|---|---|
| search_get | GET /search | GET /search |
list[InlineResponse20018] search_get(q)
GET /search
Search players by personaname.
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)| Name | Type | Description | Notes |
|---|---|---|---|
| q | str | Search string |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]