Full asynchronous Curseforge API wrapper
👉 https://docs.curseforge.com
All Json Schemas (Python Types) are exactly the same as in docs
Except missing "Return types" which are essentially just this:
{"data": Any}
{"data": Any, "pagination": Pagination}
# Get all available games for provided API key:
from cursedpy import CFClient
API_KEY = "API_KEY"
async def main():
try:
client = CFClient(API_KEY)
games = await client.games()
print(games)
finally:
client.close()
- Games
- Categories
- Mods
- Files
- Fingerprints
- Minecraft
- Add helper methods to some types (
Mod.get_download_link()
, for example) - Add cache
- Error handling
- Document all types parameters
- Make proper docs page???
https://github.com/Advik-B/CurseForge-API - lacks search method support, example on the main page didn't work for me at all, Lol
https://github.com/Stinky-c/curse-api - cool wrapper, but pydantic is a little bit too much for my taste, thx for multiple http libraries support idea ❤️, although i don't think it will be useful at all for me, but this is a library after all..