Skip to content

Latest commit

 

History

History
63 lines (44 loc) · 1.8 KB

LanguagesApi.md

File metadata and controls

63 lines (44 loc) · 1.8 KB

LanguagesApi

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

Method HTTP request Description
get_languages GET /languages

get_languages

LanguageListResponse get_languages(page=page, per_page=per_page)

Get language list

Example

from __future__ import print_statement
import time
import kinow_client
from kinow_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: ApiClientId
kinow_client.configuration.api_key['X-Client-Id'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# kinow_client.configuration.api_key_prefix['X-Client-Id'] = 'Bearer'
# Configure API key authorization: ApiClientSecret
kinow_client.configuration.api_key['X-Client-Secret'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# kinow_client.configuration.api_key_prefix['X-Client-Secret'] = 'Bearer'

# create an instance of the API class
api_instance = kinow_client.LanguagesApi()
page = 789 # int |  (optional)
per_page = 789 # int |  (optional)

try: 
    api_response = api_instance.get_languages(page=page, per_page=per_page)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling LanguagesApi->get_languages: %s\n" % e)

Parameters

Name Type Description Notes
page int [optional]
per_page int [optional]

Return type

LanguageListResponse

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list]