Skip to main content

ニコニコ動画 スナップショット検索APIv2の Python クライアント

Project description

NicoApiClient

概要

ニコニコ動画 『スナップショット検索API v2』 などの API について、仕様をなるべく意識せずに利用できるクライアントを提供する。

install

PyPIリポジトリ: https://pypi.org/project/nicovideo-api-client/

pip install nicovideo-api-client

installed

Downloads Downloads Downloads

Code Climate

Maintainability

documentation

NicoApiClient コードドキュメント

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nicovideo_api_client-2.0.2-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file nicovideo_api_client-2.0.2.tar.gz.

File metadata

  • Download URL: nicovideo_api_client-2.0.2.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.2 Darwin/22.1.0

File hashes

Hashes for nicovideo_api_client-2.0.2.tar.gz
Algorithm Hash digest
SHA256 94cb32a30ac0116404ca3f668e5a13a39d1f245bf5df1733b48b6a1d70ba461e
MD5 e96bf3f8c9da6b83a6c52761ecb403da
BLAKE2b-256 1e7e7946af7dafd3cefa1c871d08f504dd6291c986e090c2e6eb2a5649df39ed

See more details on using hashes here.

File details

Details for the file nicovideo_api_client-2.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nicovideo_api_client-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dfc0f88f09b593b11e9ced6fad80cd637467c22652de18e76ea84d72f2b91d6d
MD5 166ba639b6d6d41bf2eda87a729dbdad
BLAKE2b-256 997862fc5e7dfc385221f8f59b226eb64516c5ae99f9069d65a7ccc4b84c1854

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page