Skip to main content

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


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)

Uploaded Source

Built Distribution

Pixeldrain-1.1.0-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

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