API help - Most visited pages over last week

Hi

I am new to this so apologies if I am missing someting obvious.

I am looking to create an XML feed of the top 5 visited pages over the past week (7 days).
I would like to output to include the URL and Page title for each of the top 5 pages visted.

I have got this so far but it isn’t correct.

Any pointers would be greatly appreciated.

?module=API
&idSite=11
&period=day
&date=last7
&format=xml
&filter_limit=10
&method=Actions.getPagetitle
&segment=pageUrl=@Invest Northern Ireland | News
&token_auth=

OK

I have made some progress

I now would like to have the page URL along with the page title…

?module=API
&method=Actions.getPageTitles
&idSite=11
&period=range
&date=last7
&format=xml
&filter_limit=10
&segment=pageUrl=@http%3A%2F%2Fwww.investni.com%2Fnews%2F&
filter_sort_column=nb_visits
&filter_sort_order=desc
&token_auth=

CLOSED

Thsi has been moved to Support and Bugs