You need to get this third-party data by specifying it in Gmail (without authorizing it in oauth p / s without the participation of the user).

Found such a service: http://www.avatarapi.com/ but there is no desire to pay for the information that lies somewhere in the public.

Rummaged Google API found only how to get this data from userId https://developers.google.com/apis-explorer/#p/plus/v1/plus.people.get but I didn’t find how to get userId from mail. What tell me?

That service in the section "How it works" indicates that the information is taken public from Google.

  • one
    Maybe the service somehow parses google plus? - Vitaliy Emelyantsev
  • one
    @ VitaliyEmeliantsev Yes, it takes from there, but not all. I found such actions, if google plus is not created in the mail, then the service returns only userId. This confirms that the data is taken from there. But where does the userId come from, presumably from some project that I haven’t yet found. Why? Because when I create a new mail on gmail, the service about it returns the data as "No profile information found for this email". This suggests that the service goes somewhere else where the new account is not lit and has not created the data. I tried YouTube to create a channel. results are zero. I will continue to drip. - Sam
  • All the same, the information on the service appears somewhere in 10-20 minutes, after I create the page in Google Plus, and when I change the name to GooglePlus, it immediately gives out new data on the service. Thus, it is assumed that they are in the google plus API as while in Google itself, the information about the fact that I created the page on it is cached and takes 10-20 minutes. But the old accounts on which the page was not created, they do not give out anything, then only the userId on the service. Going to google google plus can find a little bit. - Sam

1 answer 1

I was scouring the Google API all day, I was already thinking, okay, I need to type a proxy and make a script for a check from that site, because there you can make 100 requests from 1 type.

And only now, at the last attempt, I started to google it to this service, I threw out a link from Google to the analogue from 2014, https://github.com/eudoxia0/avatar-api/blob/master/src/avatar-api.lisp . The appeal goes to the API of some picasaweb (I did not go into details). The main thing without any authorization is to enter the desired email address and obtain such data as the Name, UserId and link to the avatar: http://picasaweb.google.com/data/entry/api/user/vvputin@gmail.com?alt=json

{ "version":"1.0", "encoding":"UTF-8", "entry":{ "xmlns":"http://www.w3.org/2005/Atom", "xmlns$gphoto":"http://schemas.google.com/photos/2007", "id":{"$t":"http://picasaweb.google.com/data/entry/api/user/111689979090137919444?alt=json"}, "published":{"$t":"2016-09-09T17:20:24.602Z"}, "updated":{"$t":"2016-09-08T12:05:14.519Z"}, "category":[ { "scheme":"http://schemas.google.com/g/2005#kind", "term":"http://schemas.google.com/photos/2007#user" } ], "title":{ "$t":"111689979090137919444", "type":"text" }, "summary":{ "$t":"", "type":"text" }, "link":[ { "rel":"http://schemas.google.com/g/2005#feed", "type":"application/atom+xml", "href":"http://picasaweb.google.com/data/feed/api/user/111689979090137919444?alt=json" }, { "rel":"alternate", "type":"text/html", "href":"https://picasaweb.google.com/111689979090137919444" }, { "rel":"self", "type":"application/atom+xml", "href":"http://picasaweb.google.com/data/entry/api/user/111689979090137919444?alt=json" } ], "author":[ { "name":{"$t":"vanyo1980"}, "uri":{"$t":"https://picasaweb.google.com/111689979090137919444"} } ], "gphoto$user":{"$t":"111689979090137919444"}, "gphoto$nickname":{"$t":"vanyo1980"}, "gphoto$thumbnail":{ "$t":"https://lh3.googleusercontent.com/-t-Hdv_PGH4I/AAAAAAAAAAI/AAAAAAAAAAA/vrOJgVgMD6A/s64-c/111689979090137919444.jpg" } } }