gmc - sample usage of google apis