https://github.com/gorilla-devs/furse
A simple Rust wrapper for the official CurseForge API
https://github.com/gorilla-devs/furse
api-bindings asynchronous curseforge minecraft minecraft-modding
Last synced: 11 months ago
JSON representation
A simple Rust wrapper for the official CurseForge API
- Host: GitHub
- URL: https://github.com/gorilla-devs/furse
- Owner: gorilla-devs
- License: mit
- Created: 2022-01-19T08:11:59.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-05-22T09:17:58.000Z (about 2 years ago)
- Last Synced: 2024-11-08T02:11:16.515Z (over 1 year ago)
- Topics: api-bindings, asynchronous, curseforge, minecraft, minecraft-modding
- Language: Rust
- Homepage: https://crates.io/crates/furse
- Size: 50.8 KB
- Stars: 27
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Furse
[](https://www.rust-lang.org)
[](https://github.com/gorilla-devs/furse)
[](https://github.com/gorilla-devs/furse/blob/master/LICENSE.txt)
[](https://crates.io/crates/furse)
[](https://docs.rs/furse)
Furse is a simple library for using the [CurseForge REST API](https://docs.curseforge.com/rest-api#accessing-the-service) in Rust.
It uses [reqwest](https://docs.rs/reqwest) for sending requests and deserialising responses to strongly typed structs using [Serde](https://serde.rs).
## Features
- Strongly typed structures for API responses
- Useful examples in the method documentations
- Implementations for the following API calls
- [Get mod by mod ID](https://docs.rs/furse/latest/furse/struct.Furse.html#method.get_mod_file) ([official documentation](https://docs.curseforge.com/rest-api#get-mod))
- [Get mods by mod IDs](https://docs.rs/furse/latest/furse/struct.Furse.html#method.get_mods) ([official documentation](https://docs.curseforge.com/rest-api#get-mods))
- [Get HTML description by mod ID](https://docs.rs/furse/latest/furse/struct.Furse.html#method.get_mod_description) ([official documentation](https://docs.curseforge.com/rest-api#get-mod-description))
- [Get all of the mod's files by mod ID](https://docs.rs/furse/latest/furse/struct.Furse.html#method.get_mod_files) ([official documentation](https://docs.curseforge.com/rest-api#get-mod-files))
- [Get file by mod ID and file ID](https://docs.rs/furse/latest/furse/struct.Furse.html#method.get_mod_file) ([official documentation](https://docs.curseforge.com/rest-api#get-mod-file))
- [Get files by file IDs](https://docs.rs/furse/latest/furse/struct.Furse.html#method.get_files) ([official documentation](https://docs.curseforge.com/rest-api#get-files))
- [Get file's HTML changelog by mod ID and file ID](https://docs.rs/furse/latest/furse/struct.Furse.html#method.get_mod_file_changelog) ([official documentation](https://docs.curseforge.com/rest-api#get-mod-file-changelog))
- [Get file's download URL by mod ID and file ID](https://docs.rs/furse/latest/furse/struct.Furse.html#method.file_download_url) ([official documentation](https://docs.curseforge.com/rest-api#get-mod-file-download-url))
- [Get files that match the given fingerprints](https://docs.rs/furse/latest/furse/struct.Furse.html#method.get_fingerprint_matches) ([official documentation](https://docs.curseforge.com/rest-api#get-fingerprints-matches))