Reputation: 21
I use the Google People API to find the google user's country. It returns address with populated just the formattedValue
and formattedType
attributes. The docs state that all fields are optional. In which cases the country
and country_code
get populated?
Upvotes: 2
Views: 397
Reputation: 117254
The People API lets you list and manage the authenticated user's Contacts and retrieve profile information for authenticated users and their contacts.
Users edit their own contacts. So as soon as a user adds the country for their contact the data will be populated.
Upvotes: 1