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() \
    .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.0.tar.gz (12.4 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.0-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nicovideo_api_client-2.0.0.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.10.1 Darwin/21.1.0

File hashes

Hashes for nicovideo_api_client-2.0.0.tar.gz
Algorithm Hash digest
SHA256 7634353230f76d58583cdb6603efe90ac651048c2fa4f348c686626d01b09dd0
MD5 b5723e223a6a963489b008721cb66830
BLAKE2b-256 0d6bd28d2f34a84ac01ea428064b2270d2d9632f76dd5b88cf99d4b498ad7140

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nicovideo_api_client-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3cbd10a5977db6e4ccf0e5b4fd34e152e7dd79526f6af48516af6f7352fe01fb
MD5 0d0640b1247f5e8803882ec2ecce1eb5
BLAKE2b-256 37d24040372c42b6f0a4a3bcc6fad32b445d172eb9612d257bb334f07a3b675a

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