nadeo-api
This library handles all the authentication for working with the Nadeo API.
Installation
Via command line:
Via Cargo.toml:
= "0.3.0"
Getting started
Creating a client:
use NadeoClient;
let mut client = builder
.with_normal_auth
.with_server_auth
.with_oauth
.user_agent
.build
.await?;
Creating a request:
use NadeoRequest;
use AuthType;
use Method;
let request = builder
.url
.auth_type
.method
.body // optional
.build?;
Executing a request:
let mut client = /* snap */;
let request = /* snap */;
let response = client.execute.await?;
License
This project is licensed under Apache License, Version 2.0.