ftbapi 1.0.0

A Rust wrapper.
Documentation
<img src="https://github.com/user-attachments/assets/c3e22354-02ee-4dbf-bf9e-a9361769413e" alt="Feed The Beast logo" width="100" height="100" align="left" />

### *FTB API*

A Rust wrapper.

---

### Installation

```sh
cargo add ftbapi
```

### Usage

```rust
use ftbapi::FTB;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    let ftb = FTB::new()?;

    let modpacks = ftb.search_modpacks("Ocean", 5).await?;
    let modpack = ftb.get_modpack(modpacks.ftb_ids[0]).await?;
    let version_id = modpack.versions[0].id;
    let version = ftb.get_modpack_version(modpack.id, version_id).await?;

    for file in version.files.iter() {
        println!("{}/{}", file.install_path, file.name);
    }

    Ok(())
}
```

### Credit

- [Feed The Beast]https://feed-the-beast.com/ for providing the API and the modpacks.
- [serde]https://github.com/serde-rs/serde under
  the [MIT License]https://github.com/serde-rs/serde/blob/master/LICENSE-MIT, made
  by [Erick Tryzelaar]https://github.com/erickt, [David Tolnay]https://github.com/dtolnay,
  and [its contributors]https://github.com/serde-rs/serde/graphs/contributors.
- [reqwest]https://github.com/seanmonstar/reqwest under
  the [MIT License]https://github.com/seanmonstar/reqwest/blob/master/LICENSE-MIT, made
  by [Sean McArthur]https://github.com/seanmonstar
  and [its contributors]https://github.com/seanmonstar/reqwest/graphs/contributors.
- [Rust]https://github.com/rust-lang/rust under
  the [MIT License]https://github.com/rust-lang/rust/blob/master/LICENSE-MIT, made
  by [its contributors]https://github.com/rust-lang/rust/graphs/contributors.

### License

MIT