Teste do https://code.google.com/p/google-api-javascript-client/