About
This library provides an interface (or whatever you want to call it) for working with the Nadeo API. It handles authentication automatically but API requests have to be build up manually by the user.
⚠️ This project is in early development ⚠️
Installation
Run
or add this line to your Cargo.toml with the desired version:
= "0.2.2"
Getting started
Creating a client:
use NadeoClient;
let mut client = builder
.with_normal_auth
.with_oauth
.user_agent
.build
.await?;
Creating a request:
use NadeoRequest;
use AuthType;
use HttpMethod;
let request = builder
.url
.auth_type
.method
.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.