arc_api_rs 0.2.0

Async Rust client for the MetaForge Arc Raiders API
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::error::MetaForgeError;
use crate::models::EventsScheduleResponse;
use crate::MetaForgeClient;

impl MetaForgeClient {
    /// Fetch the current events schedule.
    pub async fn events_schedule(&self) -> Result<EventsScheduleResponse, MetaForgeError> {
        self.get_json("arc-raiders/events-schedule").await
    }
}