Inokufu Docs
  • Overview
  • Learning Object
    • Why learning object is key
    • Competency-based education
    • Metadata models
    • Inokufu Schema
      • URL
      • Title
      • Description
      • Picture
      • Language
      • Type
      • Learning goal
      • Provider
      • Publisher
      • Author
      • Competency
      • Expertise level
      • Age
      • Popularity note
      • Address (if physical)
      • Learning time
      • PriceSpecification
  • Learning object API
    • Getting started
    • Authentication
    • Usage plans
    • Best efforts
    • Search by type
    • Search by provider
    • Types
    • Providers
    • Languages
    • Bloom taxonomy
    • Feedback
  • Competency API
    • Competency v1
  • Resources
    • FAQ
    • Website
    • Rapid API
    • Credits
Powered by GitBook
On this page
  • Request
  • Headers
  • Query Parameters
  • Code examples
  • Response
  • Response parameters
  • Response example

Was this helpful?

  1. Learning object API

Languages

This endpoint returns a list of the languages currently supported by the API.

PreviousProvidersNextBloom taxonomy

Last updated 3 years ago

Was this helpful?

Request

GET https://learning-objects-v2.p.rapidapi.com/lang
GET https://api.inokufu.com/learningobject/v2/lang

Headers

This endpoint does not require any API key authentication in the header.

Query Parameters

This endpoint does not require any query parameter.

Code examples

See for Rapid API codes examples.

See below for Direct customer access:

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;
})}})};

Response

Response parameters

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

Response example

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)."
    }
]

here