Custom API request (help)


I’ve recently switched to piwik to follow our web statistics, after using sitemeter for a while.

I need, in order to follow our add campaigns, to make a custom report displaying for each unique visit :
the website referer (with URL parameters) - the entry page (especially the URL parameters where we store campaign data) - the duration of the visit - the number of pages viewed

Is there an easy way to do this through an API request ? I’m not a php/mysql specialist, and I could use some help.

Thanks in advance.