Skip to content
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.

ymizushi/nicosearch

Repository files navigation

nicosearch

The wrapper library for niconico search API with python.

This repository is no longer maintained!

because of the end of "新検索β".

Install

pip install nicosearch # Python 2.7.x or later
pip3 install nicosearch # Python 3.4.x or later

Usage

#!/usr/bin/env python
# -*- coding: utf-8 -*-

from nicosearch import SearchRequest, SearchQueryBuilder
query = SearchQueryBuilder(u'MMD').build()
print(SearchRequest(query).fetch().contents)

# add search option
query = SearchQueryBuilder(u'閃乱カグラ', frm=0, size=10).build()
print(SearchRequest(query).fetch().contents)

# shortcut function
from nicosearch import search
print(search(u'閃乱カグラ'))

Update PyPI command

python setup.py register sdist upload

About

[this repository is no longer maintained] The wrapper library for niconico search API with python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published