how to get the page views for a single page eg:www.domain.com/product/?code=21
is there any api reference for this?
My idea is very similar to goo.gl/examplestring.info (to get the url stats)
You could use the Google Analytics Query Explorer to play around with what you can/cannot get from the api.
Then just run a query that looks something like this:
You can use RegEx too, to get at your page using the =~ operator. More info on operators here.