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 hashes)

Uploaded Source

Built Distribution

inkbunny-0.0.3-py3-none-any.whl (8.4 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