pixiv-auth-got

0.2.0 • Public • Published

pixiv-auth-got Build Status

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

Readme

Keywords

Package Sidebar

Install

npm i pixiv-auth-got

Weekly Downloads

1

Version

0.2.0

License

MIT

Last publish

Collaborators

  • akameco