Skip to main content

Curseforge API

This is a no-compromise CurseForge API wrapper for python. It is a re-write of Modrinth.py which (In my opinion) is trash This project is a complete re-write of the original project, with a focus on simplicity and ease of use.

This project is still in development, and is not yet ready for production use. It also speeds up the process by using disk caching, It will cache the response from the API and will only make a new request if the request is not cached.

This, of course can be disabled by setting the cache to False.

Features

  • Simple and easy to use
  • Caches responses from the API to disk for faster response times
  • Allows direct access to the API via the fetch method
  • Allows exporting of the objects to DICT, JSON, or YAML

Installation

pip install modrinth-api

TODO

  • Implement the export methods
  • Implement the cache
  • Implement the fetch method
  • Deal with the download URL being a null value
  • Implement the search method
  • Wrap the ENTIRE API
  • Rename the classes so they have a Rinth prefix

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Metadata

Release files for Modrinth-API 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Modrinth-API 0.0.1
File Size Uploaded
Modrinth-API-0.0.1.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Modrinth-API 0.0.1
File Interpreter ABI Platform
Modrinth_API-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 4.6 kB

Release files / Modrinth-API-0.0.1.tar.gz

Download URL Modrinth-API-0.0.1.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
36498c0d6043b477e26955d48bcc7bca434f9536c94d7f77971a20af369e5f58
BLAKE2b-256 checksum
How to use checksums
4ebe5d2c8643975a62bc72cc4e426759815f2966bfbe813dcd87aab477c883d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.0

Release files / Modrinth_API-0.0.1-py3-none-any.whl

Download URL Modrinth_API-0.0.1-py3-none-any.whl
Size 2.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
587eb4706924f225a9a3de303c2abc7b3dc3280a2bdd7ccd177aac11f682fffb
BLAKE2b-256 checksum
How to use checksums
9a19b0d2189016b6eb0603eba57d02612be1fbd44541f165758152072dc13558
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.0

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page