1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*!
Provides `Client` struct for interacting with the Warframe Market API.
# Examples
Running unauthenticated:
```rust
use wf_market::client::Client;
let client = Client::new();
```
Running authenticated:
```rust
use wf_market::{
client::Client,
utils::generate_device_id,
};
async fn main() {
let client = {
// device_id should be stored and reused
Client::new()
.login("username", "password", generate_device_id().as_str()).await.unwrap()
};
let user = client.user.unwrap();
println!("Logged in as: {}", user.name);
}
```
*/
pub
pub
pub use *;