Package Exports
- pixiv-auth-got
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pixiv-auth-got) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
pixiv-auth-got 
pixiv auth got
Install
$ npm install --save pixiv-auth-got
Usage
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));
});
API
PixivAuthGot(username, password)
username
Type: string
password
Type: string
pixivAuthgot.got(endpoint, [options])
Same as got.
endpoint
Type: string
pixiv endpoint.
License
MIT © akameco