Skip to main content

Python API wraper for sxcu.net

Project description

SXCU Python API Wrapper

sxcu PyPI Version sxcu Documentation Status sxcu codecov

sxcu-logo

A friendly API wrapper around https://sxcu.net.

Installation

The package is published on PyPI and can be installed by running:

pip install sxcu

Basic Use

Easily query the sxcu.net from you Python code. The data returned from the sxcu.net API is mapped to python resources:

>>> import sxcu
>>> con = sxcu.SXCU()
>>> con.upload_image("foo.jpg")
{'url': 'https://sxcu.net/2kW7IT', 'del_url': 'https://sxcu.net/d/2kW7IT/455c7e40-9e3b-43fa-a95a-ac17dd920e55', 'thumb': 'https://sxcu.net/t/2kW7IT.jpeg'}

Ready for more? Look at our whole documentation on Read The Docs.

Contributing

Please refer to CONTRIBUTING.md file for more information on how to contribute to this project.

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

sxcu-2.0.0.tar.gz (12.2 kB view hashes)

Uploaded Source

Built Distribution

sxcu-2.0.0-py3-none-any.whl (12.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