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.1.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.1-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nicovideo_api_client-2.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 4d969d0f315b681b1cc384623b325470b8160dda6f41c740cc4222bc2a795f08
MD5 77afc262b90b02770567d69040cc02a0
BLAKE2b-256 702b002cdc07b24c5711114a2c5463ea007679e330b7597ebc3c39cb9b636890

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nicovideo_api_client-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5450d6c250574fa96ecdcbd478ff021861b7fac3f002199b9e581a5cbe4c1cc4
MD5 b1bec418543686dd9db086896c954bca
BLAKE2b-256 ebf220d0a966c1320fb1a9fa9c0755371f3e5e562bb1b12a3fe3952de214d138

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