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



News

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

Example

{ "news": [ { "newsId": 128167, "data": { "title": "UKRAINE. "La prochaine étape, c'est la guerre civile"", "url": "http://rss.nouvelobs.com/.../story01.htm", "publisherLabel": "Le Nouvel Obs", "imageUrl": "http://rss.nouvelobs.com/.../6975489.jpg", "publicationTimestamp": 1392828041, "description": "A Kiev, les manifestants restent déterminés alors que les services de sécurité ukrainiens ont annoncé le lancement d'une opération "anti-terroriste" à travers le pays.", "article": " Mercredi matin, la violence est retombée dans le centre de Kiev. Manifestants et policiers se font face, sans affrontements violents. Moments de répit. Les forces anti-émeutes s'accordent du repos à même le sol, comme le rapportent les journalistes sur place : Les manifestants reprennent aussi des forces. Ils ont de nouveau occupé mardi soir la mairie. Une trentaine 'entre eux se trouve à l'intérieur du bâtiment, où ils ont installé une infirmerie de fortune. Leurs unités d'autodéfense gardent l'entrée. La détermination reste intacte." }, "timestamp": 1392836528000, "detectionTimestamp": 1392836498000, "programId": 418003, "channel": { "id": 1, "name": "TF1" } } ], "serverTime": 1392911743000, "since": 1392899381000 }

Response Format

newsId
Unique Id of the news.
data
All news data. (See Data Description)
timestamp
Insertion timestamp in milliseconds. This is the time when the news 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 news was initially detected in the program. This may be used to match the exact detection time with the program time range.
channel
Description of the channel where the definition was found. (See Channel Description)

Data Description

title
Title of the news.
url
Url of the news.
publisherLabel
News publisher name.
imageUrl
News image url.
publicationTimestamp
News publication in seconds timestamp format.
description
News description.
article
News article content.

Channel Description

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