Asynchonous Labrinth API (v2) wrapper: https://docs.modrinth.com/
Supports basic ratelimiting via https://github.com/mjpieters/aiolimiter
Has poor error handling (Better than nothing)
Nothing here for now, only dev tests
from modrinthpy import ModrinthClient
async def main():
try:
client = ModrinthClient()
response = await client.Projects.get_multiple_projects(ids=['create','sodium'])
print(response)
finally:
client.close()
- Projects (Full support, search included, more examples in https://github.com/DrugsNotIncluded/modrinth.py/blob/main/main.py for the moment)
- Versions
- Version Files
- Users
- Notifications
- Threads
- Teams
- Tags
- Miscellaneous
- Rewrite abstract class for http client
- Adjust rateliming
- Add better Facet class
- https://github.com/betapictoris/modrinth.py - Unfortunately incomplete, synchronous, doesn't have ANY error handling and ratelimit handling
- You always can use Python OpenAPI client generator from official specs