@gitbook/api
v0.77.0
Published
Javascript (Browser and Node) API client for the [GitBook API](https://developer.gitbook.com/).
Downloads
6,798
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');