This endpoint enables to search educational ressources in various type or format (e.g. video, MOOC, training, book, etc) and from various sources (e.g. youtube, coursera, applebook, etc).

This endpoint returns a list of learning objects that matches your query, language and other optional parameters.

OpenAPI specification

The OpenAPI specification (swagger) for this endpoint is available here.

Request

GET https://api.gateway.inokufu.com/learningobject/v3/search

Headers

The API key must be included in the header.

"x-api-key": "SAY-FRIEND-AND-ENTER"

Make sure to replace SAY-FRIEND-AND-ENTER with your own Developer API key.

Query Parameters

Query parameters must be included in the URL.

Parameter

Type

Required

Description

query

string

Yes

This is the sentence or list of keywords that help you refine the topic of the learning objects you are looking for.

lang

string

Yes

(default fr)

Language of the LO such as en (english) or fr (french).

model

string

Yes

(default semantic)

The model used by the API to match your query with relevant LO. Two models are available: semantic or keywords.

provider

string

No

Provider (source) of the LO such as youtube, coursera, applebooks, etc.

type

string

No

Type of the LO such as video, mooc, book, etc.

bloom

string

No

List of the Bloom objectives associated with the LO such as discover, understand, do, etc.

note_min

integer

[0 to 100]

Yes

(default 0)

This is an indicator of the popularity of the LO as measured by its number of likes, stars, views, etc.

duration_unit

string

No

The duration unit can be set as s(second), min(minute), h(hour), d(day), w(week), m(month), y(year).

duration_value_min

decimal

>=0

No

The minimum duration of the LO in the duration_unityou have chosen.

duration_value_max

decimal

>=0

No

The maximum duration of the LO in the duration_unityou have chosen.

free

bool

No

This allows you to filter by free content only (free=true) or paid content only (free=false). If empty, you'll get both free and paid contents.

latitude

decimal

[-90 to 90]

No

This is the latitude of the geographical point around which you want to search for (physical) LO.

longitude

decimal

[-180 to 180]

No

This is the longitude of the geographical point around which you want to search for (physical) LO.

distance

decimal

>=0

No

This is the distance (in km) from the geographical point around which you want to search for (physical) LO.

limit

integer

[1 to 25]

Yes

(default 10)

Maximum number of LO returned per page. Value must be between 1 to 25.

page

integer

>=0

Yes

(default 0)

The number of returned page, starting at 0.

Code example

curl "https://api.gateway.inokufu.com/learningobject/v3/search?query=python&type=mooc&lang=en"
-H "x-api-key: SAY-FRIEND-AND-ENTER"

Response

Response parameters

Parameter

Required

Description

id

Yes

UUID of the learning object

title

Yes

Title of the learning object

url

Yes

Link to access the learning object

score

No

Matching score between the learning object and the query

description

No

Short description of the learning object

lang

No

Language of the learning object

note

No

Note (popularity) of the learning object

provider

No

Provider of the learning object

type

No

List of the type (format) of the learning object

bloom

No

List of the Bloom objectives of the learning object

picture

No

URL to the thumbnail picture of the learning object

duration

No

Duration of the learning object

address

No

Postal address where the learning object is located (e.g. training).

price

No

Informations about the pricing of the learning object

author

No

List of authors associated with this learning object. Authors are the people that make the learning object. For mooc, distance learning or training, this can be a teacher or trainer.

publisher

No

List of publishers associated with this learning object. Publishers are the organisations that offer and/or sell the learning object. For mooc, distance learning or training, this can be a university, a school or a training organization.

license

No

URL to the license description associated to the learning object

date

No

Informations about the publication and last updated date of the learning object

Response example

[
    {
        "id": "6f7b1b3c-0b0q-4b0d-8b5e-9b0d7v1e9b0e",
        "title": "Python",
        "url": "https://www.python.org/",
        "score": 0.5,
        "description": "Python is a programming language",
        "lang": "fr",
        "note": 70,
        "provider": "moncompteformation",
        "type": [
            "training"
        ],
        "bloom": [
            "Cursus"
        ],
        "picture": {
            "full_width": "string",
            "square": "string"
        },
        "duration": {
            "index": 0,
            "minute": 0,
            "value": 0,
            "unit": "string"
        },
        "address": {
            "text": "string",
            "geo_coordinates": {
                "type": "string",
                "coordinates": [
                    0,
                    0
                ]
            }
        },
        "price": {
            "value": 10,
            "currency": "€",
            "free": true,
            "@context": "https://schema.org/",
            "@type": "PriceSpecification"
        },
        "author": [
            {
                "name": "string"
            }
        ],
        "publisher": [
            {
                "name": "string"
            }
        ],
        "license": {
            "url": "https://creativecommons.org/licenses/by/4.0/"
        },
        "date": {
            "publication": "string",
            "updated": "string"
        }
    }
]