Skip to main content

Python wrapper for the Inkbunny API

Project description

Inkbunny

A Python wrapper for the Inkbunny API.

DISCLAIMER

I have no idea what I'm doing!

  • I'm not a programmer.
  • I have next to no experience with Python (or any other language for that matter).
  • I have no affiliation with Inkbunny.
  • This project exists because I couldn't find a Python wrapper anywhere else.
  • This is still very much a work in progress.
  • I'm trying my best, but my best isn't very good.

Use this wrapper at your own risk

Installation

pip install inkbunny

Requirements

Usage

TODO

from inkbunny import Inkbunny
ib = Inkbunny()
details = ib.submission_details(submission_ids=['14576', '14579'])

print(details)
ib = Inkbunny('myusername')
submission_results = ib.search('fox')
# first time login
ib = Inkbunny('myusername', password='mypassword')
print(ib.unread_submissions())
with Inkbunny() as ib:
    bunnies = ib.search('bunny', results_count=1000)

print(bunnies)
ib = Inkbunny('myusername')
ib.new_submission(
    files=['path/to/my/file/dog1.png', 'path/to/my/file/dog2.png'],
    title='Good dog',
    desc='A drawing I made',
    keywords=['male', 'dog', 'good'],
    type_='picture')

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

inkbunny-0.0.3.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

inkbunny-0.0.3-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file inkbunny-0.0.3.tar.gz.

File metadata

  • Download URL: inkbunny-0.0.3.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for inkbunny-0.0.3.tar.gz
Algorithm Hash digest
SHA256 83090dbab122def87a71b80aa3ff4cc9e8b8d732e497c28daa0b5ace6b726641
MD5 212a8de9fbc15404bbf08b870b854895
BLAKE2b-256 691daa9243281e4dd8a2b5eb116e11627beb68dc953dcff13108551ecb9a8b0c

See more details on using hashes here.

File details

Details for the file inkbunny-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: inkbunny-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for inkbunny-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d33176b75b00a65f562bc5b850fdcf22aeccff03aa143643477c4dc0d0a77834
MD5 3b3c5eb751decd0fe6fe0293d52ab1b6
BLAKE2b-256 8f2e88fbeaa830174152d11309655d48efa9452280f10ef52462b106313a1c82

See more details on using hashes here.

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