Leankr API key request

You will get access to the Leankr API for 3 months, free of charge.

Limited to one API key per company.

Please send an email to contact@leankr.com if you want to extend the 3-month evaluation period.


mandatory fields

You will receive an email with your personal Leankr API key.
Briefly describe your application
Type the captcha here

CAPTCHA Image

Subscribe to Leankr developer API



Definitions

Resource Information

Rate Limited ?
Yes
Max number of requests
100 / 15min per user
Valid User Key Required ?
Response Formats
JSON
HTTP Methods
GET
API Version


Parameters

since
optional
Get definitions since the given date (in milliseconds timestamp format)
1392380752000
channelId
optional (Default = all)
Get definitions only on given channel id.
3
api_key
Your personal api key.

Example

{ "definitions": [ { "definitionId": 48079, "data": { "name": "Vers à soie", "desc": "Le bombyx du mûrier est un lépidoptère domestique originaire du nord de la Chine, élevé pour produire la soie. Le ver à soie est sa chenille. Le bombyx est inconnu à l'état sauvage, il résulte de la sélection par élevage appelé sériciculture. C'est au stade de chenille que le bombyx produit la précieuse fibre sécrétée en une bave abondante qui, en durcissant, se transforme en un fil unique de soie brute avec lequel la chenille se fabrique un cocon. Ce fil mesure entre 800 et 1500 mètres de long. Il est produit par des glandes spécialisées, dites séricigènes. Bombyx mori serait relativement proche du Bombyx mandarina avec lequel il est capable de s'hybrider et qui est présent au nord de l'Inde, au nord de la Chine, en Corée et au Japon.", "wikipediaUrl": "http://fr.wikipedia.org/.../Bombyx_du_m%C3%BBrier", "pageTitle": "Bombyx du mûrier", "icon": { "tbUrl": "http://upload.wikimedia.org/.../290px-Meyers_b14_s0826a.jpg", "tbWidth": 290, "tbHeight": 432, "contextUrl": "http://fr.wikipedia.org/.../Bombyx_du_m%C3%BBrier", "originalUrl": "http://upload.wikimedia.org/.../402px-Meyers_b14_s0826a.jpg" } }, "timestamp": 1392906479000, "detectionTimestamp": 1392906471000, "programTitle": "Elle court, elle court... la rumeur", "channel": { "id": 1, "name": "TF1" }, "id": 436085 } ], "serverTime": 1392915391000, "since": 1392915215000 }

Response Format

definitionId
Unique Id of the definition.
id
Unique id of the occurrence.
data
All definitions data. (See Data Description)
timestamp
Insertion timestamp in milliseconds. This is the time when the definitions has been actually inserted in the database. This has to be used to value the since parameter for next requests.
detectionTimestamp
Original detection timestamp in milliseconds. This is the timestamp when the definitions was initially detected in the program. This may be used to match the exact detection time with the program time range.
programTitle
Title of the program where the definitions was detected.
channel
Description of the channel where the definition was found. (See Channel Description)

Data Description

name
Name of the definitions.
desc
Wikipedia definitions description extract.
wikipediaUrl
Wikipedia url of the definitions.
icon
Main icon for this definitions. (See Icon Description)
pageTitle
Wikipedia page title.

Channel Description

id
Unique id of the channel. (See Supported Channels)
name
Name of the channel.

Icon Description

tbWidth
Icon width in pixels.
tbHeight
Icon height in pixels.
tbUrl
Icon Url.
contextUrl
Web page reference where icon was found.
originalUrl
Full size image.