Welcome to Azaka, a work-in-progress asynchronous API Wrapper around the visual novel database written in python.
You can install Azaka using pip.
pip install azaka
Example of getting some basic VN data.
import asyncio
from azaka import Client, Node, select
# Refer https://api.vndb.org/kana#database-querying for fields, filters etc.
query = (
select("title", "image.url")
.frm("vn")
.where(Node("id") == "v17")
)
async def main() -> None:
async with Client() as client:
resp = await client.execute(query=query)
vn = resp.results[0]
print(vn.id, vn.title, vn.image["url"], sep="\n")
asyncio.run(main())
Preliminary documentation is available @ Azaka Docs