Marketplace

Google Contacts

Other

Google People API contacts driver.

togo-framework
bash
togo install togo-framework/contacts-google

Install

bash
togo install togo-framework/contacts-google

contacts-google — Google People API driver for togo contacts

A togo contacts driver backed by the Google People API. Imports/syncs a user's Google Contacts behind the togo ContactsProvider interface.

bash
togo install togo-framework/contacts        # the base
togo install togo-framework/contacts-google # this driver
env
CONTACTS_DRIVER=google
GOOGLE_CONTACTS_TOKEN=ya29.…   # a People-API OAuth access token

The OAuth flow (consent + token refresh, scope contacts.readonly) is handled by your app; this driver consumes the access token and calls people/me/connections. Once selected it powers the base API:

go
svc, _ := contacts.FromKernel(k)
all, _ := svc.Sync(ctx)   // every Google contact, normalized

MIT


<div align="center"> <h3>Premium sponsors</h3> <p> <a href="https://id8media.com"><strong>ID8 Media</strong></a> &nbsp;·&nbsp; <a href="https://one-studio.co"><strong>One Studio</strong></a> </p> <p><sub>Support togo — <a href="https://github.com/sponsors/fadymondy">become a sponsor</a>.</sub></p> </div>