ReliefWeb Rust Client
A fully asynchronous Rust client for the ReliefWeb API, providing typed endpoints for reports, disasters, countries, jobs, blogs, books, sources, and trainings.
Features
- Fully typed resources with serde support.
- Async support with
reqwest+tokio. - Support for filtering, sorting, limiting, and profiles.
- Prebuilt endpoints for:
reportsdisasterscountriesjobstrainingsourcesblogsbooks
- Automatic URL and query parameter handling.
Installation
Add to your Cargo.toml:
[]
= "0.1.0"
= { = "1.47.1", = ["full"] }
Usage
use ;
async
QueryParams
You can filter, sort, and limit results using QueryParams:
use ;
let params = new
.limit
.profile;
Documentation
Full API documentation is available at docs.rs
License
Licensed under MIT.
Contributing
Contributions are welcome! Please open an issue or submit a pull request.