Hi,
We currently do not expose calculated metrics, so you have to query
for the base metrics and do the calculation in your own program.
So if you query for ga:pageviews and ga:visits you can get the results
and divide them to get pages / visit.
-Nick