Pixeldrain API
Project description
Pixeldrain
A pixeldrain uploader and downloader made with pixeldrain api
Installation
pip3 install Pixeldrain
Usage
import pixeldrain
# To get information about the file
info = pixeldrain.info(file_id)
# returns information as raw data
# To get file link
file = pixeldrain.file(file_id)
# returns file link
# To upload file
pixeldrain.upload_file(file_path)
# returns upload details
# To download file
pixeldrain.download_file(file_id, file_name, file_path)
# returns file name
# "file_name" and "file_path" are optional
# To get thumbnail
thumbnail = pixeldrain.thumbnail(file_id, width, height)
# returns thumbnail link
# width and height are optional
Thanks to
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.2.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for Pixeldrain-1.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43ea6f85fc1707ffbcbe1cde1c30bc5a3f75da5ade27c0a783af5ad56ced65a6 |
|
MD5 | c6b1b98baecbf13912b75d700774a827 |
|
BLAKE2b-256 | 4dd79d0455ebd7f1b645b1fbe5834a0c81c8c9e50453a60f9b3d8ba5c7576a6f |