ニコニコ動画 スナップショット検索APIv2の Python クライアント
Project description
NicoApiClient
概要
ニコニコ動画 『スナップショット検索API v2』 などの API について、仕様をなるべく意識せずに利用できるクライアントを提供する。
install
PyPIリポジトリ: https://pypi.org/project/nicovideo-api-client/
pip install nicovideo-api-client
installed
Code Climate
documentation
example
from nicovideo_api_client.api.v2.snapshot_search_api_v2 import SnapshotSearchAPIV2
from nicovideo_api_client.constants import FieldType
json = SnapshotSearchAPIV2() \
.tags_exact() \
.single_query("VOCALOID") \
.field({FieldType.TITLE, FieldType.CONTENT_ID}) \
.sort(FieldType.VIEW_COUNTER) \
.no_filter() \
.limit(100) \
.user_agent("NicoApiClient", "0.5.0") \
.request() \
.json()
利用規約
https://site.nicovideo.jp/search-api-docs/snapshot#api%E5%88%A9%E7%94%A8%E8%A6%8F%E7%B4%84
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nicovideo_api_client-2.0.2.tar.gz
(12.5 kB
view hashes)
Built Distribution
Close
Hashes for nicovideo_api_client-2.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94cb32a30ac0116404ca3f668e5a13a39d1f245bf5df1733b48b6a1d70ba461e |
|
MD5 | e96bf3f8c9da6b83a6c52761ecb403da |
|
BLAKE2b-256 | 1e7e7946af7dafd3cefa1c871d08f504dd6291c986e090c2e6eb2a5649df39ed |
Close
Hashes for nicovideo_api_client-2.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfc0f88f09b593b11e9ced6fad80cd637467c22652de18e76ea84d72f2b91d6d |
|
MD5 | 166ba639b6d6d41bf2eda87a729dbdad |
|
BLAKE2b-256 | 997862fc5e7dfc385221f8f59b226eb64516c5ae99f9069d65a7ccc4b84c1854 |