Comment on page
Languages
This endpoint returns a list of the languages currently supported by the API.
Rapid API
Direct customer
GET https://learning-objects-v2.p.rapidapi.com/lang
GET https://api.inokufu.com/learningobject/v2/lang
This endpoint does not require any API key authentication in the header.
This endpoint does not require any query parameter.
See below for Direct customer access:
Shell
Python
php
Javascript
curl "https://api.inokufu.com/learningobject/v2/lang"
import requests
r = requests.get('https://api.inokufu.com/learningobject/v2/lang')
r.json()
$curl = curl_init('https://api.inokufu.com/learningobject/v2/lang');
//Download the certificate from 'https://api.inokufu.com/' to avoid SSL errors and replace 'certInokufu.cer' with the name of your downloaded file
curl_setopt($curl,CURLOPT_CAINFO,__DIR__ . DIRECTORY_SEPARATOR . 'certInokufu.cer');
$data = curl_exec($curl);
if($data===false){
var_dump(curl_error($curl));
};
const type = async () => {fetch('https://api.inokufu.com/learningobject/v2/lang' ).then(function(response) {
if(response.ok) {
response.json().then(function(json) {
const resJson = JSON.stringify(json)
return resJson;
})}})};
Parameter | Description |
---|---|
lang | Two-letter code of the language to be used in /search endpoint to filter LO with the lang parameter |
description | Short description of this language |
Here is an example of the JSON structured response provided by this endpoint.
[
{
"lang": "en",
"description": "Use this code for LO in english language."
},
{
"lang": "fr",
"description": "Use this code for LO in french language (français)."
}
]
Last modified 1yr ago