ニコニコ動画 スナップショット検索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.6.tar.gz
(12.0 kB
view hashes)
Built Distribution
Close
Hashes for nicovideo_api_client-2.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ea0983d6244b2e4d58a4aa1173853cc9a8f4adf4ed221f752222db76eb24001 |
|
MD5 | 7c9c1956851e07c39e271219aa18f9f1 |
|
BLAKE2b-256 | bfcc63750806acaf3f9bf0826ec757c5b1a749bfab40dc6c51dff2b9db886039 |
Close
Hashes for nicovideo_api_client-2.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b87d8c3235c6215cd95ce1cd9484e0759a2408606aebc978381e2c86abe35ae8 |
|
MD5 | 1330e864d27319f7e99f547775b988a2 |
|
BLAKE2b-256 | b51dfe04a0931d428c26ee02ce72828be4717fb2fbdca6668c6e0fa074ef5a5a |