Client library
Install and use GitBook's official Node.js client library
Install
npm install @gitbook/apiInitialize
import { GitBookAPI } from '@gitbook/api';
const client = new GitBookAPI({
authToken: <your_access_token>
});Node.js
import { GitBookAPI } from '@gitbook/api';
import fetch from 'node-fetch';
const client = new GitBookAPI({
customFetch: fetch
});Search
User and users
Spaces
Collections
Integrations
Organizations
URLs
Last updated
Was this helpful?