Skip to main content

API wrapper for NicoNico services

Project description

niconico

PyPI PyPI - Python Version PyPI - Downloads PyPI - License

Test Test

niconico.py

niconico.py is a Python library for retrieving Niconico video content and information, and is compatible with the latest version of Niconico. It allows you to download videos, retrieve information, get comments, and more.

Installation

You can install it using pip:

pip install niconico.py

Usage

video

download video

from niconico import NicoNico

client = NicoNico()

watch_data = client.video.watch.get_watch_data("sm9")
outputs = client.video.watch.get_outputs(watch_data)
client.video.watch.download_video(watch_data, "720p", ".")

get mylist items

from niconico import NicoNico

client = NicoNico()

mylist = client.video.get_mylist("61813702")
items = list(map(lambda x: x.video, mylist.items))

Command

help

niconico -h

download video

niconico download -h

License

MIT License

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

niconico_py-2.0.3.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

niconico_py-2.0.3-py3-none-any.whl (28.1 kB view details)

Uploaded Python 3

File details

Details for the file niconico_py-2.0.3.tar.gz.

File metadata

  • Download URL: niconico_py-2.0.3.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.1 Linux/6.5.0-1025-azure

File hashes

Hashes for niconico_py-2.0.3.tar.gz
Algorithm Hash digest
SHA256 3cdfb9504f2498509c12693c34eff844d5eaaf150b70a49e398d0b9308e13e90
MD5 ceac654cda06f946a057deaa9299cbdb
BLAKE2b-256 1899e7ffda5aacf894723052ddd3baf58a6351b94dc52f46237ea27919f8b217

See more details on using hashes here.

File details

Details for the file niconico_py-2.0.3-py3-none-any.whl.

File metadata

  • Download URL: niconico_py-2.0.3-py3-none-any.whl
  • Upload date:
  • Size: 28.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.1 Linux/6.5.0-1025-azure

File hashes

Hashes for niconico_py-2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 dea4f257bddf48ed55086a38e9b501b55a500bc9e083a9bf65c68833359e382f
MD5 f3db5eb274d3a117fa6445163311db52
BLAKE2b-256 6d2d7ee5b5c4d2f1844543530f78cfff57a9c27d6603d7e946245f3c7f88568b

See more details on using hashes here.

Supported by

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