Skip to content

Google Business Profile SDKThe most complete TypeScript SDK for the Google Business Profile APIs.

✔ Automatic OAuth Refresh • ✔ TypeScript First • ✔ Auto Pagination • ✔ Retry Support • ✔ Rate Limiting • ✔ Generic Request API • ✔ Enterprise Ready

GBP SDK Hero Image

Quick Installation

bash
npm install @vitabletech/gbp-sdk

Quick Example

typescript
import { GBPClient } from '@vitabletech/gbp-sdk';

const client = new GBPClient({
  clientId: process.env.GOOGLE_CLIENT_ID,
  clientSecret: process.env.GOOGLE_CLIENT_SECRET,
  redirectUri: 'http://localhost:3000/oauth/callback',
  refreshToken: process.env.GOOGLE_REFRESH_TOKEN,
});

// Automatically handles tokens, paginates through all pages,
// and returns all accounts as a strongly typed array.
const accounts = await client.accounts.listAll();