Xemay / aiomodrinth

Async API wrapper for modrinth.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aiomodrinth

Aiomodrinth is a package for asynchronous interaction with the Modrinth API


Basic usage

import asyncio
from aiomodrinth import ModRinthApi

api = ModRinthApi("your_auth_token", "your_username/id")

async def get_project_description(project_id: str):
    project = await api.get_project(project_id)
    print(project.description)

asyncio.run(get_project_description("project_id"))

About

Async API wrapper for modrinth.com

License:MIT License


Languages

Language:Python 100.0%