1.0.2 • Published 4 years ago

sakamichi-api-client v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

sakamichi-api-client for Node.js

Sakamichi46Api client library for Node.js.

npm.io

Installation

$ npm i sakamichi-api-client

Usage

import SakamichiApiClient from 'sakamichi-api-client';

const run = () async => {
    const response = await sakamichiApiClient.getMemberProfile({ grounpName: 'nogizaka46', memberName: 'shiraishimai' })
    const { data } = response;
    console.log(data);
}

run();
{
    "name": "白石麻衣",
    "birthday": "1992-08-20",
    "bloodType": "A",
    "constellation": "しし座",
    "profilePhotoUri": "http://img.nogizaka46.com/www/member/img/shiraishimai_prof.jpg",
    "blogUri": "http://blog.nogizaka46.com/mai.shiraishi/smph/",
    "goodsUri": "http://www.nogizaka46shop.com/msp/store/list.cgi?cno=4&cmno=45",
    "matomeUri": [
        "http://nogizaka46democracy.blog.jp/archives/cat_51850.html"
    ]
}

Type definition

See here.

LICENCE

MIT

1.0.2

4 years ago

1.0.1

4 years ago

1.1.0

4 years ago