AideRSSmantra

Feed Stats

From AideRSS API Documentation

Contents

feed_stats

http://api.aiderss.com/feed_stats

Returns the stats for the specified feed.

Parameters

HTTP GET

  • appkey=[string] : An Application Key (usually your domain name).
  • format=[xml|json] : The format to return data in.
  • feed_id=[feed_id] : The internal ID of the feed (see Feed ID).
  • callback=[jsonp callback] : (Optional) Callback for JSONP data.

Returns

A feed stats object.

Example Response

XML

http://api.aiderss.com/feed_stats?appkey=aiderss.com&format=xml&feed_id=1

Result
<?xml version="1.0" encoding="UTF-8"?>
<results>
	<good>180</good>
	<all>348</all>
	<avg_month>58</avg_month>
	<great>154</great>
	<best>109</best>
</results>
Errors
<?xml version="1.0" encoding="UTF-8"?>
<results>
	<error>FeedID is missing or invalid</error>
</results>

JSON

http://api.aiderss.com/feed_stats?appkey=aiderss.com&format=json&feed_id=1

Result
{"good":"180","all":"348","avg_month":"58","great":"154","best":"109"}
Errors
{"error":"FeedID is missing or invalid"}