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

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.1.0.tar.gz (18.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.1.0-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nicovideo_api_client-0.1.0.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.10 CPython/3.9.4 Darwin/20.6.0

File hashes

Hashes for nicovideo_api_client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0ce59974cdee7ca15392f20c911a8f5564e2e2d2d26906e64d0c5615179e0c58
MD5 ba4fcaffb80c370564b99c9c7702a945
BLAKE2b-256 3dac4120e5dd3c1b2e9c2a73cba347a460bd738437e9eb74ba2e7e4b9a72f0bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nicovideo_api_client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 595b497b459616a0742db3b03c6330762a9605e2ca2ef393e51c2ca47f05472b
MD5 0cc2586ea7a97ce5aa59d9d6c3936f51
BLAKE2b-256 d37c60b09360cb840c24a719b147597ced9fc136847eda425b651ce2540cdac2

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