ニコニコ動画 スナップショット検索APIv2の Python クライアント
Project description
概要
ニコニコ動画 『スナップショット検索API v2』 などの API について、仕様をなるべく意識せずに利用できるクライアントを提供する。
install
PyPIリポジトリ: https://pypi.org/project/nicovideo-api-client/
pip install nicovideo-api-client
installed
example
from nicovideo_api_client.api.v2.snapshot_search_api_v2 import SnapshotSearchAPIV2
from nicovideo_api_client.constants import FieldType
json = SnapshotSearchAPIV2() \
.tags_exact() \
.query("VOCALOID") \
.field({FieldType.TITLE, FieldType.CONTENT_ID}) \
.sort(FieldType.VIEW_COUNTER) \
.simple_filter().filter() \
.limit(100) \
.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-0.0.4.tar.gz
(11.6 kB
view hashes)
Built Distribution
Close
Hashes for nicovideo_api_client-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a77dee4d9d9b0f9f5e8c4d67e2b6dfd2a67765cf7d7a62dfd2d14b842f61270b |
|
MD5 | d456e41e01eda113622d0077a26097f7 |
|
BLAKE2b-256 | 493af99b157199a1ede0cb6460a3010a2c228f93adfbc5cbd3b16b00e48fbdfd |
Close
Hashes for nicovideo_api_client-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2be01621d9881b7217c3ac88bf2b04bce37a156b90ecae43ae3299ef30090e2c |
|
MD5 | fe57a375fb0788a910cb28cb514a49cb |
|
BLAKE2b-256 | 550a5bdd21f2812ea4c3b3cb1701440098ee8174c8607811497a29343e6583d0 |