Pre-release
This release is a pre-release and may not be stable for production use.
AppleBooru
AppleBooru is a Python library for interacting with the Danbooru API. Provides a simple and easy-to-use interface to help developers access and manipulate posts and wiki pages on Danbooru.
Key Features
- Client: All requests to Danbooru API are through the client.
- Post API: Easily get posts.
- Wiki Page API: Get wiki pages on Danbooru, support search options and fuzzy.
Installation
pip install applebooru
Usage Example
from applebooru import AppleBooruClient
# Initialize the client
client = AppleBooruClient(api_key="your_api_key", username="your_username")
# Retrieve posts
posts = client.posts.get_posts(other_names_match='史尔特尔', limit=10)
for post in posts:
print(post)
# Retrieve wiki pages
wiki_pages = client.wiki_pages.get_wiki_pages(title='surtr_(arknights)', only=['id', 'title'], limit=5)
for page in wiki_pages:
print(page)
Dependencies
- Python 3.6+
- requests
Target Audience
- Developers who need to interact with the Danbooru API
- Users who want to automate management of content on Danbooru
License
MIT License
Metadata
Release files for applebooru 1.0.0b3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| applebooru-1.0.0b3.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| applebooru-1.0.0b3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.0 kB
Release files / applebooru-1.0.0b3.tar.gz
| Download URL | applebooru-1.0.0b3.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7628056e7503c3b7a77691cbd87ac17716e3f83e204d10214a245925efc582b2
|
|
BLAKE2b-256 checksum How to use checksums |
19fedf3c0f7f12150ae7dfc917df6454e2eb6a190148dfffa4c67e0ff6c8ecca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.6
|
Release files / applebooru-1.0.0b3-py3-none-any.whl
| Download URL | applebooru-1.0.0b3-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
12ceeae849c46ceca8b2923bd913cbbb56def28d83a98ecd29369e2e251ae6f5
|
|
BLAKE2b-256 checksum How to use checksums |
589bbf37caaddcf99bc73cf5e1d472d07bd14110bce53e8e22c960aa86ed03e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.6
|