Resource summary | |
---|---|
Response formats | JSON, XML, RSS |
HTTP method | GET |
Parameters | no |
Response type |
Returns a list of your top articles.
Set up feed: http://app.linkpulse.com/lp/feeds (Needs login)
Field name | Type | Description | |
---|---|---|---|
name | string | The name of the feed | |
type | string | Widget type | |
sortby | string | Ordering of the results | |
total | int | Number of results | |
filter | string | What content to display | |
format | string | Response format | |
timerange | string | Time range of results | |
active | boolean | If the filter is active |
Example request: GET http://feed.linkpulse.com/v1/1234/1234
Response format: json
{ "linkpulsefeed": [
{
"url": {
"title": "Maksimal hjertefrekvens",
"url": "www.trening.no/utholdenhet/9628.o2.html",
"image": "http://www.trening.no/imageRepository/00/00/00/96/26/9626.jpg",
"type": "article",
"description": "Hvordan påvirkes vår maksimale hjertefrekvens og hvordan kan du teste den?",
"modified": 201201092101,
"published": 201201092101,
"id": "1e52910200b2a45d38248931"
},
"last60Seconds": 2,
"last300Seconds": 2,
"previous60Seconds": 0,
"state60Seconds": -100,
"state300Seconds": -100,
"average300Seconds": 0
},
{
...
},
]
}
Example request: GET http://feed.linkpulse.com/v1/1234/1234
Response format: rss
<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0">
<channel>
<lastBuildDate>Tue, 11 Sep 2012 13:04:36 +0200</lastBuildDate>
<description>Some description of the feed ...</description>
<link>http://linkpulse.com</link>
<title>Linkpulse RSS Feed</title>
<image>
<title>Linkpulse RSS Feed</title>
<url>http://linkpulse.com/some_image.png</url>
<link>http://linkpulse.com</link>
</image>
<item>
<title>Styrke</title>
<description></description>
<link>http://www.trening.no/styrke</link>
<guid isPermaLink="false">a8e0a22cbb0393cfb14a8e55</guid>
<pubDate>Tue, 30 Jun 2009 13:06:00 +0200</pubDate>
</item>
<item>
...
</item>
</channel>
</rss>
Example request: GET http://feed.linkpulse.com/v1/1234/1234
Response format: xml
<?xml version="1.0" encoding="utf-8" ?>
<linkpulsefeed>
<feed>
<average300Seconds>0</average300Seconds>
<last300Seconds>1</last300Seconds>
<last60Seconds>0</last60Seconds>
<previous60Seconds>0</previous60Seconds>
<state300Seconds>-100</state300Seconds>
<state60Seconds>-100</state60Seconds>
<url>
<description>BMR kalkulator beregner energiforbruk i hvile.</description>
<id>fff771495871217ff6e34753</id>
<image>http://www.trening.no/imageRepository/00/00/00/45/27/4527.jpg</image>
<modified>201010020110</modified>
<published>201010012210</published>
<title>BMR kalkulator</title>
<type>article</type>
<url>www.trening.no/4529.o2.html</url>
</url>
</feed>
<feed>
...
</feed>
</linkpulsefeed>