0
votes

I'm trying to use this API,

https://people.googleapis.com/v1/{resourceName=people/*}

here if I use mine i.e., people/me for resourceName and addresses for personFields I'm getting the results.

But I need to check the other people details in our organisation, is there any way to get.

With the same api , I think need to pass the resource name people/{user_id}, ow can we get the other people user_id to make request?

Thanks

1
any suggestion on this.tklanilkumar

1 Answers

0
votes

Google people api people.get is a public method which means it accesses public data.

Assuming you have the persons user id you can request their data using an api key from the Google developer console.

GET https://www.googleapis.com/plus/v1/people/108822296317431956650?key=XXXX

the trick will be finding their user id. The only way i know if is finding them on Google+