Skip to content

Instantly share code, notes, and snippets.

View ddbb1977's full-sized avatar

Danny Boyd ddbb1977

View GitHub Profile
@ddbb1977
ddbb1977 / google-people-jsapi.html
Created March 23, 2016 23:46
Retrieves the names and phone numbers available in Google Contacts. It's almost the same code available at https://developers.google.com/people/quickstart/js but including the phone numbers
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
// Your Client ID can be retrieved from your project in the Google
// Developer Console, https://console.developers.google.com
// Also the URL has to be allowed or 401 errors will be thrown on the console
var CLIENT_ID = '<YOUR_CLIENT_ID>';