All URIs are relative to https://api.codechef.com
Method | HTTP request | Description |
---|---|---|
language_get | GET /language | Get the list of languages on codechef. |
InlineResponse2007 language_get(search=search, offset=offset, limit=limit)
Get the list of languages on codechef.
Returns a list of languages.
from __future__ import print_function
import time
import codechef_client
from codechef_client.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: codechef_auth
configuration = codechef_client.Configuration()
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = codechef_client.LanguagesApi(codechef_client.ApiClient(configuration))
search = 'search_example' # str | Search string for language, eg. C (optional)
offset = 56 # int | Starting index of the list, eg. 3 (optional)
limit = 56 # int | Number of languages in the list, max 100 (optional)
try:
# Get the list of languages on codechef.
api_response = api_instance.language_get(search=search, offset=offset, limit=limit)
pprint(api_response)
except ApiException as e:
print("Exception when calling LanguagesApi->language_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
search | str | Search string for language, eg. C | [optional] |
offset | int | Starting index of the list, eg. 3 | [optional] |
limit | int | Number of languages in the list, max 100 | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]