Skip to main content

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

Project description

概要

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

install

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

pip install nicovideo-api-client

installed

Downloads image1 image2

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() \
    .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


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.9.tar.gz (9.1 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-0.0.9-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nicovideo_api_client-0.0.9.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.4

File hashes

Hashes for nicovideo_api_client-0.0.9.tar.gz
Algorithm Hash digest
SHA256 bcc2404d2695f8e247d14837edb14203cb124d850efb9c2b906f1081c5876e39
MD5 a9f1653f44fb9e8562c648ab5b5615a8
BLAKE2b-256 ebd2f43bf93dae74ccd3bf2124f2777e6edfbc26b904d585ec9b12869d61001f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nicovideo_api_client-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 13.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.4

File hashes

Hashes for nicovideo_api_client-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 d2746d45795b077a2dcbd7ae6c449eeb1c13db6ac6abd540f68ef1b6773fbe3e
MD5 63389b1d7baaca322c10548074989ccd
BLAKE2b-256 21b79f69d0ba29a031f0e365827164a64b68b1f66119f2e8af36e3c8f7c90c20

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