Lichess bot. Under construction.
```rust extern crate env_logger;
use dotenv::dotenv;
use futures_util::TryStreamExt; use licoricedev::client::{Lichess};
async fn main() -> Result<(), Box
let lichess = Lichess::default();
let query_params = vec![
("max", "10"),
];
let mut stream = lichess
.export_all_games_json("chesshyperbot", Some(&query_params))
.await?;
while let Some(game) = stream.try_next().await? {
println!("{:?}", game);
}
Ok(())
}
```
```bash export RUST_LOG=info
export RUST_LOG=debug ```