API wrapper for NicoNico services
Project description
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
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cdfb9504f2498509c12693c34eff844d5eaaf150b70a49e398d0b9308e13e90 |
|
MD5 | ceac654cda06f946a057deaa9299cbdb |
|
BLAKE2b-256 | 1899e7ffda5aacf894723052ddd3baf58a6351b94dc52f46237ea27919f8b217 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | dea4f257bddf48ed55086a38e9b501b55a500bc9e083a9bf65c68833359e382f |
|
MD5 | f3db5eb274d3a117fa6445163311db52 |
|
BLAKE2b-256 | 6d2d7ee5b5c4d2f1844543530f78cfff57a9c27d6603d7e946245f3c7f88568b |