3.0.2 • Published 9 years ago
gitbook-api v3.0.2
gitbook-api
Node and browser, javascript client for the GitBook.com API.
Installation
$ npm install gitbook-api --saveUsages
const GitBookAPI = require('gitbook-api');
const client = new GitBookAPI();Or create an API client with an authentified user:
const client = new GitBookAPI({
username: 'MyUsername',
token: 'password or token'
});Or using an OAuth token:
var client = new GitBookAPI({
token: 'oauth token'
});Then execute API requests:
client.get('book/you/yourbook')
.then((json) => {})
.catch(err => {})
client.post('book/you/yourbook/discussions/1/comments', { ... })3.0.2
9 years ago
3.0.1
9 years ago
3.0.0
9 years ago
2.1.3
10 years ago
2.1.2
10 years ago
2.1.1
10 years ago
2.1.0
10 years ago
2.0.0
10 years ago
1.0.4
10 years ago
1.0.3
10 years ago
1.0.2
10 years ago
1.0.1
10 years ago
1.0.0
10 years ago
0.1.1
11 years ago
0.1.0
11 years ago
0.0.7
11 years ago
0.0.6
11 years ago
0.0.5
11 years ago
0.0.4
11 years ago
0.0.3
11 years ago
0.0.2
11 years ago
0.0.1
11 years ago