Python API wraper for sxcu.net
Project description
SXCU Python API Wrapper
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
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
sxcu-2.0.0.tar.gz
(12.2 kB
view details)
Built Distribution
sxcu-2.0.0-py3-none-any.whl
(12.2 kB
view details)
File details
Details for the file sxcu-2.0.0.tar.gz
.
File metadata
- Download URL: sxcu-2.0.0.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.3 CPython/3.8.6 Linux/5.4.0-1026-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 573bf1565ae8314979cacd2b90293698adf346279544cf5f67c10056d2196c17 |
|
MD5 | fe5c01b204dc090c49125772d4a487b5 |
|
BLAKE2b-256 | 80076680a30b3ec8ac1b62e65145ba1b6f5eeb61db52665165488b938193bd79 |
File details
Details for the file sxcu-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: sxcu-2.0.0-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.3 CPython/3.8.6 Linux/5.4.0-1026-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44ddda10f1aee7bf49d56466f4fd4e5d7977bce6bade33927f4d71703439ac3a |
|
MD5 | 3ac0291cbb9695b7afe4944f9d389c0e |
|
BLAKE2b-256 | 7c99c5b6a647663a901be2084a44e5f0841838aba9189e1548995b9cbf21e596 |