Hi!
I'd like to use the API to display the most popular pages of my blog, but I don't know how. Is it possible at all?
I'd like to get a response like this
<feed>
<description>
The 5 most popular posts in the last week
</description>
<totalhits>5456</totalhits>
<item>
<place>1</place>
<title>The most popular post ever</title>
<url>http://myblog.com/posts/the_most_popular_post</url>
<hits>2357</hits>
</item>
<item>
<place>2</place>
<title>Think of the kittens</title>
<url>http://myblog.com/posts/kittens</url>
<hits>1234</hits>
</item>
<item>
<place>3</place>
<title>Anyone reading?</title>
<url>http://myblog.com/posts/anyone_reading</url>
<hits>578</hits>
</item>
<item>
<place>4</place>
<title>Foobar</title>
<url>http://myblog.com/posts/foobar</url>
<hits>355</hits>
</item>
<item>
<place>5</place>
<title>I'm out of stupid post titles</title>
<url>http://myblog.com/posts/im_out_of_stupid</url>
<hits>27</hits>
</item>
</feed>Hits are the number of visits in the given timeframe.













GetPostStats
GetPostStats
Thanks! I think this should
Thanks! I think this should be linked from the FAQ entry about the API. Or is it?
All the functions are listed
All the functions are listed in the handbook http://performancing.com/metrics/handbook/api
Post new comment