ニコニコ動画 スナップショット検索APIv2の Python クライアント
Project description
概要
ニコニコ動画 『スナップショット検索API v2』 などの API について、仕様をなるべく意識せずに利用できるクライアントを提供する。
install
PyPIリポジトリ: https://pypi.org/project/nicovideo-api-client/
pip install nicovideo-api-client
installed
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() \
.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.8.tar.gz
(10.1 kB
view hashes)
Built Distribution
Close
Hashes for nicovideo_api_client-0.0.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 573b03b0f8e1a5cd354c605d36a1ab995b4a4bbb6adea3622ec4ff6835fcf798 |
|
MD5 | 911c286b89b70c94a29666857a44ec04 |
|
BLAKE2b-256 | e69ecf0572cf5891cd987a95a5d767ee980ac0b7f64881c457e0424d440e2d14 |
Close
Hashes for nicovideo_api_client-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | adb39b204d3cc145959fc5fc8e798f7cd139b77ffc94c6a661fd422705213fae |
|
MD5 | 521eec1f5fc50e035e4e456f0b63dfee |
|
BLAKE2b-256 | ef6a2fd6eb6fabd991ca46faec79dfd62bf22062aa6ffd422ba0106784677272 |