A no-compromises wrapper for the Modrinth API
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file Modrinth-API-0.0.1.tar.gz
.
File metadata
- Download URL: Modrinth-API-0.0.1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36498c0d6043b477e26955d48bcc7bca434f9536c94d7f77971a20af369e5f58 |
|
MD5 | c927cae8899af804353cd760027ac8bb |
|
BLAKE2b-256 | 4ebe5d2c8643975a62bc72cc4e426759815f2966bfbe813dcd87aab477c883d5 |
File details
Details for the file Modrinth_API-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: Modrinth_API-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 587eb4706924f225a9a3de303c2abc7b3dc3280a2bdd7ccd177aac11f682fffb |
|
MD5 | dddb4b88c1b5831c4ed37d5e5f6714e5 |
|
BLAKE2b-256 | 9a19b0d2189016b6eb0603eba57d02612be1fbd44541f165758152072dc13558 |