Inokufu Docs
Search…
Search by provider
This endpoint returns a list of learning objects (LO) that matches specific keywords, language and provider.

Request

Rapid API
Direct customer
1
GET https://learning-objects-v2.p.rapidapi.com/search-provider
Copied!
1
GET https://api.inokufu.com/learningobject/v2/search-provider
Copied!

Headers

The API key must be included in the header.
Rapid API
Direct customer
1
"x-rapidapi-key": "SAY-FRIEND-AND-ENTER"
Copied!
1
"x-api-key": "SAY-FRIEND-AND-ENTER"
Copied!
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
Default
Required
Description
keywords
string
Yes
Keywords help you refine the topic of the learning objects. Best results are obtained when using the most commonly used designation for a skill, a competency or a job.
lang
string
en
Yes
Language of the LO such as en (english), fr(french), etc. Use the /langendpoint to get the full list of languages currently supported by the API.
provider
string
youtube
Yes
Provider of the LO such as youtube, coursera, applebooks, etc. Use the /providerendpoint to get the list of the providers currently supported by this endpoint.
sort
string
popularity
Yes
Currently supported sorting order are random or popularity. If empty, response will be sorted by popularity.
match
string
best-effort
Yes
How strict the query parameters are applied. Two matches are currently supported:
  • strict match gives you less results but strictly apply all your query parameters.
  • best-effort match gives you more results but your query parameters will be loosely applied.
model
string
strict
Yes
The model used by the API to determine if a LO is relevant based on the provided keywords. Two models are currently supported:
  • strict model gives you less results but is usually more relevant (less false positive).
  • extended model gives you more results but with a higher probability of false positive.
max
integer
10
Yes
Maximum number of LO returned per page. Value must be between 1 to 20.
page
integer
0
Yes
The number of returned page, starting at 0.
publisher
No
Publishers are the organization(s) that offer and/or sell the LO. Formooc, distance learning or training this can be an university, a school or a training organization.
ageMax
integer
No
The maximum age associated to the LO. For example, if you want to see videos for kids only you can set ageMax=10.
ageMin
integer
No
The minimum age associated to the LO. For example, if you want to see textbooks for adult only you can set ageMin=18.
learningTimeMax
integer
No
The maximum length of the LO in minute (video only). For example, if you want to see 5 min or less videos only, you can set learningTimeMax=5.
learningTimeMin
integer
No
The minimum length of the LO in minute (video only). For example, if you want to see 1h or more videos only, you can set learningTimeMin=60.
levelMax
decimal
No
The maximum level of the LO. The level is indicated as decimal number ranging from -1 (beginner) to 1 (advanced). For example, if you want to see a MOOC with a level for beginner, you can set levelMax=-0.5.
levelMin
decimal
No
The minimum level of the LO. The level is indicated as decimal number ranging from -1 (beginner) to 1 (advanced). For example, if you want to see a MOOC with a level for intermediate or above, you can set levelMin=0.2.
popularityMin
decimal
No
Popularity is an indicator of the popularity of the LO as measured by its number of likes, stars, views, etc. This parameter enables you to set a threshold to filter out LO below a certain popularity. This value ranges from 0 (low popularity) to 1 (exceptionally popular).
address
string
No
The address around which you want to search. Works only for geolocated learning objects (eg training). Used in conjuction with distanceMax.
distanceMax
integer
No
The maximum distance within which you want to search. Works only for geolocated learning objects (eg training). Used in conjuction with address.
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.
If you want to enforce strictly one specific query paremeter, you can add !important after it. This parameter wil be applied strictly even if the global match parameter is set to best-effort.

Code examples

See here for Rapid API codes examples.
See below for Direct customer access:
Shell
Python
php
Javascript
1
curl "https://api.inokufu.com/learningobject/v2/search-provider?keywords=python&provider=coursera&lang=en&max=2"
2
-H "x-api-key: SAY-FRIEND-AND-ENTER"
Copied!
1
import requests
2
url = 'https://api.inokufu.com/learningobject/v2/search-provider?keywords=python&provider=coursera&lang=en&max=2'
3
headers = {'x-api-key': 'x-api-key: SAY-FRIEND-AND-ENTER'}
4
r = requests.get(url, headers=headers)
5
r.json()
Copied!
1
$key = 'SAY-FRIEND-AND-ENTER';
2
$curl = curl_init('https://api.inokufu.com/learningobject/v2/search-provider?keywords=python&provider=coursera&lang=en&max=2');
3
//Download the certificate from 'https://api.inokufu.com/' to avoid SSL errors and replace 'certInokufu.cer' with the name of your downloaded file
4
curl_setopt($curl,CURLOPT_CAINFO,__DIR__ . DIRECTORY_SEPARATOR . 'certInokufu.cer');
5
curl_setopt($curl, CURLOPT_HTTPHEADER, array('x-api-key:'.$key));
6
$data = curl_exec($curl);
7
if($data===false){
8
var_dump(curl_error($curl));
9
};
Copied!
1
apiKeySecured = 'SAY-FRIEND-AND-ENTER';
2
const search = async () => {fetch('https://api.inokufu.com/learningobject/v2/search-provider?keywords=python&provider=coursera&lang=en&max=2', {headers: {"x-api-key": apiKeySecured}} ).then(function(response) {
3
if(response.ok) {
4
response.json().then(function(json) {
5
const resJson = JSON.stringify(json)
6
//console.log(resJson);
7
return resJson;
8
})}})};
Copied!

Response

Response parameters

Parameter
Required
Description
title
Yes
Title of the LO
url
Yes
Link to access the LO
description
Short description of the LO
picture
Link to the thumbnail picture of the LO
provider
Name of the provider associated with this LO
bloom
List of the Bloom objectives associated with this LO
type
List of the type associated with this LO
level
The level is indicated as decimal number ranging from -1 (beginner) to 1 (advanced)
learningTimeValue
Length associated to the LO (based on the unit provided accordingly)
learningTimeUnit
Unit of the length associated to the LO (h for hour, min for minutes)
address
Postal address where the learning objects is located (eg training).
publisher
List of publishers associated with this LO. Publishers are the organization(s) that offer and/or sell the LO. Formooc, distance learning or training this can be an university, a school or a training organization.
author
List of authors associated with this LO. Authors are the people that make the LO. For mooc,distance learning or training this can be a teacher or trainer.
PriceSpecification
Informations about the pricing of the LO, which includes:
  • price is the offer price of the LO as a decimal number.
  • priceCurrencyis the currency of the price of the LO as a symbol ($, , etc)
  • price-free is a boolean that is true when the LO can be accessed without paying, and false when the LO requires payment to be accessed.
Beware some providerssuch as Coursera offer all their mooc in both free and paid version. In this case the price of the LO will be not null while marked as price-free=true

Response example

Here is an example of the JSON structured response provided by this endpoint.
1
{
2
"statusCode": 200,
3
"request": {
4
"keywords": "python",
5
"lang": "en",
6
"provider": "Coursera",
7
"sort": "popularity",
8
"max": 2,
9
"model": "strict",
10
"address": "",
11
"distanceMax": "",
12
"ageMin": "",
13
"ageMax": "",
14
"popularityMin": 0,
15
"levelMin": "",
16
"levelMax": "",
17
"learningTimeMin": "",
18
"learningTimeMax": "",
19
"publisher": "",
20
"author": "",
21
"free": "",
22
"page": 0,
23
"id": "f0d6f275-87b2-4f93-b050-d41d81855b86"
24
},
25
"response": {
26
"content": [
27
{
28
"title": "Data Analysis with Python",
29
"url": "https://www.coursera.org/learn/data-analysis-with-python",
30
"description": "Learn how to analyze data using Python. This course will take you from the basics of Python to exploring many",
31
"picture": "https://s3.amazonaws.com/coursera-course-photos/1e/bccef0386611e889ebf7c982548ca6/Screen-Shot-2018-04-04-at-8.13.17-PM.png",
32
"provider": "Coursera",
33
"bloom": [
34
"Understand"
35
],
36
"type": [
37
"MOOC"
38
],
39
"level": -1.0,
40
"lang": "en",
41
"learningTimeValue": 11,
42
"learningTimeUnit": "h",
43
"PriceSpecification": {
44
"@context": "https://schema.org/",
45
"@type": "PriceSpecification",
46
"price": 38.0,
47
"priceCurrency": "quot;,
48
"price-free": true
49
}
50
},
51
{
52
"title": "An Introduction to Interactive Programming in Python (Part 2)",
53
"url": "https://www.coursera.org/learn/interactive-python-2",
54
"description": "This two-part course is designed to help students with very little or no computing background learn the basics of",
55
"picture": "https://s3.amazonaws.com/coursera/topics/interactivepython/large-icon.png",
56
"provider": "Coursera",
57
"bloom": [
58
"Understand"
59
],
60
"type": [
61
"MOOC"
62
],
63
"level": -1.0,
64
"lang": "en",
65
"learningTimeValue": 19,
66
"learningTimeUnit": "h",
67
"PriceSpecification": {
68
"@context": "https://schema.org/",
69
"@type": "PriceSpecification",
70
"price": 0.0,
71
"price-free": true
72
}
73
}
74
],
75
"metadata": {
76
"page": 0,
77
"number item per page": 2,
78
"total number item": 96,
79
"hasMore": true
80
},
81
"msg": "A00 - These results are our best effort to answer your query."
82
}
83
}
Copied!