0.1.11 • Published 4 years ago
@voypost/rest-api-client v0.1.11
api-client
Getting started
import { createApiClient } from '@voypost/rest-api-client';
export default createApiClient({
clientId: 'xxx',
clientSecret: 'yyy',
baseUrl: 'https://foo.api.voypost.com/',
audience: 'https://foo.api.voypost.com/',
tokenBaseUrl: 'https://voypost.auth0.com/',
scopes: ['users:read'],
});