nadeo-api-rs 0.2.0

A simple wrapper for the Nadeo API
Documentation

nadeo-api

A library to making using the Nadeo API easy.

use nadeo_api_rs::{prelude::*, user_agent_auto};

Usage

  1. Create a NadeoCredentials.
  2. Create a UserAgentDetails -- easiest way via user_agent_auto! macro.
  3. Create a NadeoClient via NadeoClient::create.
  4. Call methods like let cotd = client.get_cup_of_the_day()?;

For lower-level access, see NadeoApiClient::run_* methods.

For examples of how to do more complex low-level requests, see LiveApiClient::get_map_group_leaderboard for an example.