Metadata-Version: 2.1
Name: inkbunny
Version: 0.0.3
Summary: Python wrapper for the Inkbunny API
Home-page: https://github.com/crying-ibex/inkbunny
Author: ibex
Author-email: anonymous.420.69.666.1337@gmail.com
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/crying-ibex/inkbunny/issues
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE

# Inkbunny

A Python wrapper for the [Inkbunny](https://inkbunny.net/) 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
- Python ≥ 3.10.2
- [Requests](https://docs.python-requests.org/en/latest/)
- [platformdirs](https://github.com/platformdirs/platformdirs) (for now, at least)




## Usage

**TODO**
 
```python
from inkbunny import Inkbunny
```

```python
ib = Inkbunny()
details = ib.submission_details(submission_ids=['14576', '14579'])

print(details)
```

```python
ib = Inkbunny('myusername')
submission_results = ib.search('fox')
```

```python
# first time login
ib = Inkbunny('myusername', password='mypassword')
print(ib.unread_submissions())
```


<!-- ### context manager -->

```python
with Inkbunny() as ib:
    bunnies = ib.search('bunny', results_count=1000)

print(bunnies)
```


```python
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')
```
<!-- 
(logs in as guest)

### asdf lower level 

api_* method names

 -->

