google / google-api-javascript-client

Google APIs Client Library for browser JavaScript, aka gapi.
Apache License 2.0
3.2k stars 1.06k forks source link

How to get normal human readable field names in lib responses? #440

Open wzup opened 6 years ago

wzup commented 6 years ago

What does all those cryptic field names mean? Is there some Google Enigma machine out there to read it?

How should we read it? Provide links to documentation to your api. I can't find it using Google Search.

selection_804

Here is even more. I call GoogleAuth.currentUser.get() and I get something weird. Eea is google account id. Why is it Eea? ofa is user name. Why is it ofa? wea is user surname. Why is it wea? U3 is user's email. Why U3?

How to read, how to understand all that?

selection_806

tzabarc commented 6 years ago

look at proto: Object you probably find methods with human readable names which extract the data from the unhuman properties.