ニコニコ動画 スナップショット検索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.5.tar.gz
(12.0 kB
view hashes)
Built Distribution
Close
Hashes for nicovideo_api_client-2.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b8a007e807656f3fa7253ea01add5339ed63f97e35313f1cb2ef278018d0544 |
|
MD5 | 60666c0ce0085cdacfceccd89715eeb4 |
|
BLAKE2b-256 | 7c0fbd40d89314b1cd783d7d49fba594b57cccac0ad3d45e198ee6652777f488 |
Close
Hashes for nicovideo_api_client-2.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e17739c0fdf66cbd0f9a86501d69e9e1db66c4ea8a05b4b593e02a90c4e2e5e5 |
|
MD5 | 5d7d083e06808d7483a0ccdfba343ff0 |
|
BLAKE2b-256 | bfe1f58a36f5ca839411b13fa4e93a7f88dabd7844ef5fb42ea70715b9763318 |