corrected passing of query parameters
pretty print google api calls