Bearer logo

Quickly use Google Contacts's API to build your own integration

  • Call the Google Contacts API in 2 minutes
  • Integrate into your App with our universal API client
  • Out-of-the-box managed OAuth2 flow & credentials
  • Transform and extend Google Contacts's API with custom built functions
  • Log every API call to Google Contacts with end-to-end trace
  • Manage all your API usage from Bearer's Dashboard

Call the Google Contacts API with Bearer client

NodeJSRubyPythonPHP
// npm install @bearer/node
bearer
.integration('google_contacts')
.auth('AUTH_ID') // Check the code in the box below to learn more about identity
.get('/feeds/contacts/default/full')
.then(({ data }) => console.log(data))
.catch(e => console.log(e))

Ask for the Google Contacts identity of your users

HTML/JSReact
<script src="https://cdn.jsdelivr.net/npm/@bearer/js/lib/bearer.production.min.js"></script>
<button class="btn btn-primary" onclick="myConnectButton()">
Connect to Google Contacts
</button>
<script>
const bearerClient = bearer('YOUR_BEARER_PUB_KEY')
function myConnectButton() {
bearerClient
.connect(
'google_contacts'
)
.then(({ authId }) => {
// Use this authId like bearer.auth(authId).get(..
console.log('AUTH_ID for this user', authId)
})
}
</script>

In one click, you can also generate an identity using your own Google Contacts account directly from the Dashboard

Manage & Monitor

Credentials

Manage API credentials in a central place, rotate them in one click.

Logs

Automatically log every API call, find errors and debug in a snap with end-to-end trace.

Transform & extend APIs

Create functions to transform and re-expose APIs according to your needs.

Featured APIs

Bearer - Universal API Client

Company

Docs & Help

Legal

Bearer is on TwitterBearer is on GitHubBearer is on FacebookBearer is on LinkedInBearer is on Medium
© Copyright Bearer 2019