Last updated:
0 purchases
Pixeldrain 1.1.2
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
Pixeldrain API
Contributors
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.