Installation
Globio ships as a single SDK on npm and JSR.
npm
npm install @globio/sdkJSR
npx jsr add @globio/sdkInitialize the SDK
The current SDK exports the Globio client:
import { Globio } from '@globio/sdk';
const client = new Globio({
apiKey: 'glo_client_xxx',
});Access GlobalDoc
const player = await client.doc.get('players', 'player_001');For new projects, the fastest path is:
- Create a project in the console
- Enable the service you want to use
- Copy your client key
- Initialize
new Globio({ apiKey })
Last updated on
