niconico-search
v0.2.1
Published
API client for http://search.nicovideo.jp/docs/api/search.html
Downloads
1
Readme
niconico-search
niconico-search is a API client for niconico コンテンツ検索API http://search.nicovideo.jp/docs/api/search.html
Installation
npm install --save niconici-search
Usage
import {Base, Live} from 'niconico-search';
const baseClient = new Base({ service: 'live' });
const liveClient = new Live();
baseClient.search('初音ミク').then(function(response) {
console.log(response);
});
liveClient.search('顔出し', { targets: 'tagsExact' }).then(function(response) {
console.log(response);
});