@gitbook/api
v0.74.0
Published
Javascript (Browser and Node) API client for the [GitBook API](https://developer.gitbook.com/).
Downloads
8,581
Keywords
Readme
@gitbook/api
Javascript (Browser and Node) API client for the GitBook API.
Installation
npm install @gitbook/api
Usage
import { GitBookAPI } from '@gitbook/api';
const gitbook = new GitBookAPI({
authToken: 'gb_abc,
});
const { data } = await gitbook..spaces.getSpaceById('abc');