Skip to content
This repository was archived by the owner on Jun 3, 2020. It is now read-only.
/ nicosearch Public archive

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

License

Notifications You must be signed in to change notification settings

ymizushi/nicosearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Contributors 2

  •  
  •