python package to interact with the gunfire.icu file uploading api
Project description
GunfireAPI
A simple Python module to interact with the Gunfire API for uploading files and handling responses. This module allows easy file uploads to the Gunfire API and retrieval of the corresponding URL.
Installation
You can install the package via pip:
pip install gunfireapi
## Example usage
```python
from gunfireapi import upload_file
file_path = "path/to/your/file.png"
file_url = upload_file(file_path)
if file_url:
print("upload success")
print("uploaded url:", file_url)
else:
print("upload failed")
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
gunfireapi-0.1.0.tar.gz
(1.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gunfireapi-0.1.0.tar.gz.
File metadata
- Download URL: gunfireapi-0.1.0.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f91f193192e3cdfe5cc5e62d17682a110625eee9e0d62ad9b94d8219b88c2466
|
|
| MD5 |
f63ea3d69d55424e6c6a68f1a1217f22
|
|
| BLAKE2b-256 |
2900264a99d6be4156917ad0ab79bc5e124680c8ac24dfd554b09082e5a437b9
|
File details
Details for the file gunfireapi-0.1.0-py3-none-any.whl.
File metadata
- Download URL: gunfireapi-0.1.0-py3-none-any.whl
- Upload date:
- Size: 1.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
175f56342393c46377880ca5b30bfc19f4745a3b836d2bb0382a6bbc8275af8f
|
|
| MD5 |
f21ee36760b18d6c77ae30e94927d3e4
|
|
| BLAKE2b-256 |
d5f093f0ef1d99f5ff58e4bfb2baf926e25019cd86c5479ee6952738a30ab7d9
|