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



People

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 people since the given date (in milliseconds timestamp format)
1392380752000
channelId
optional (Default = all)
Get people only on given channel id.
3
api_key
Your personal api key.

Example

{ "people": [ { "peopleId": 293, "data": { "name": "Sean Connery", "desc": "Sir Sean Connery CBE est un acteur britannique, né le 25 août 1930 à Édimbourg, en Écosse. célèbre pour avoir interprété le rôle de James Bond à sept reprises, la première fois dans James Bond 007 contre Dr No. Il a remporté de nombreux prix, dont un Oscar pour son rôle dans Les Incorruptibles en 1987, un BAFTA pour son interprétation du moine Guillaume de Baskerville dans Le Nom de la rose la même année, ainsi que deux Golden Globes. Sean Connery a été anobli par la reine Élisabeth II en 2000, en récompense de sa carrière au cinéma et des services rendus aux arts britanniques. Fier de ses origines écossaises, il affiche publiquement son soutien à l'indépendantisme écossais .", "wikipediaUrl": "http://fr.wikipedia.org/.../Sean_Connery", "genre": "male", "birthdate": "1930/8/25", "isDead": false, "icon": { "tbUrl": "http://upload.wikimedia.org/.../290px-SeanConneryJune08.jpg", "tbWidth": 290, "tbHeight": 329, "contextUrl": "http://fr.wikipedia.org/.../Sean_Connery", "originalUrl": "http://upload.wikimedia.org/.../SeanConneryJune08.jpg" }, "profession": "Acteur britannique" }, "timestamp": 1344039987000, "detectionTimestamp": 1344039989000, "channel": { "id": 1, "name": "TF1" }, "id": 1500 } ], "serverTime": 1392889663000, "since": 1344161718000 }

Response Format

peopleId
Unique Id of the people.
id
Unique id of the occurrence.
data
All people data. (See Data Description)
timestamp
Insertion timestamp in milliseconds. This is the time when the people 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 people 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 people was detected.
channel
Description of the channel where the definition was found. (See Channel Description)

Data Description

name
Name of the people.
desc
Wikipedia people description extract.
wikipediaUrl
Wikipedia url of the people.
icon
Main icon for this people. (See Icon Description)
genre
Male, Female or unknown.
birthdate
People birth date in format YYYY/MM/DD.
isDead
Is people dead ? True or False.
profession
People profession.

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.