Pixeldrain API
Project description
Pixeldrain
A pixeldrain uploader and downloader made with pixeldrain api
Installation
pip install Pixeldrain
Usage
import pixeldrain
# For upload file
pixeldrain.upload_file("file_path")
# returns upload details
# For get direct file
pixeldrain.download_file("file_id", "file_name")
# returns file name
# For get file link
file = pixeldrain.file("file_id")
# returns file link
# For information about the file
info = pixeldrain.info("file_id")
# returns information as json
# For get thumbnail
thumbnail = pixeldrain.thumbnail("file_id", width="", height="")
# returns thumbnail link
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
Pixeldrain-1.1.0.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for Pixeldrain-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ea1a4dbb130b515517a1c22f90ed7be41a8c71e7e94acee3778f13835260c69 |
|
MD5 | 8628cf3fb7cd06f8e5a5dabdd423dd4f |
|
BLAKE2b-256 | 4702c26185fcdd5d4a2a0e590a2f9500f488058cc8f13a1b587f9799bb074c22 |