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
fetchmethod - 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
Rinthprefix
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
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Modrinth-API-0.0.1.tar.gz | 2.3 kB | Without provenance | Details for Modrinth-API-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Modrinth_API-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for Modrinth_API-0.0.1-py3-none-any.whl |
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
|
Security for Modrinth-API 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.