Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gunfireapi-0.1.0-py3-none-any.whl (1.5 kB view details)

Uploaded Python 3

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

Hashes for gunfireapi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f91f193192e3cdfe5cc5e62d17682a110625eee9e0d62ad9b94d8219b88c2466
MD5 f63ea3d69d55424e6c6a68f1a1217f22
BLAKE2b-256 2900264a99d6be4156917ad0ab79bc5e124680c8ac24dfd554b09082e5a437b9

See more details on using hashes here.

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

Hashes for gunfireapi-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 175f56342393c46377880ca5b30bfc19f4745a3b836d2bb0382a6bbc8275af8f
MD5 f21ee36760b18d6c77ae30e94927d3e4
BLAKE2b-256 d5f093f0ef1d99f5ff58e4bfb2baf926e25019cd86c5479ee6952738a30ab7d9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page