contacts_v3_api.pl
Provides an OAUTH'd client interface to https://developers.google.com/people/
perl people_api.pl
Provides a list of contacts - and use nextPageToken to continue to get all
PRE-REQUISITES
Setup a Google Project in the Google Console and add the Translate API Library. You may need to enable billing to access Google Cloud Services. Setup an OAUTH Credential set and feed this into the CLI goauth included in WebService::GoogleAPI::Client and use the tool to authorise your user to access the project which will also create the local gapi.json config.
assumes gapi.json configuration in working directory with scoped project and user authorization
RELEVANT SCOPES
The people.connections.list endpoint requires one of the following scopes: =over 2
- https://www.googleapis.com/auth/contacts Requests that your app be given read and write access to the contacts in the authenticated user’s Google Contacts.
- https://www.googleapis.com/auth/contacts.readonly Requests that your app be given read access to the contacts in the authenticated user’s Google Contacts.
More details at https://developers.google.com/people/v1/how-tos/authorizing
GOOGLE API LINKS
- https://console.developers.google.com/apis/
- https://www.google.com/contacts/u/0/#contacts
- https://developers.google.com/apis-explorer/
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 49:
Non-ASCII character seen before =encoding in 'user’s'. Assuming UTF-8
'=item' outside of any '=over'