npm install pixiv-auth-got> pixiv auth got
```
$ npm install --save pixiv-auth-got
`js
const PixivAuthGot = require('pixiv-auth-got');
const pixivAuthGot = new PixivAuthGot('your usename', 'your password');
pixivAuthGot.got('https://app-api.pixiv.net/v1/illust/ranking', {mode: 'day'}).then(res => {
console.log(JSON.stringify(res.body, null, 2));
});
`
#### username
Type: string
#### password
Type: string
Same as got.
#### endpoint
Type: string`
pixiv endpoint.
MIT © akameco