mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2025-09-09 12:41:39 +02:00
start working on bar pinger and traewelling client
This commit is contained in:
parent
867514362a
commit
718fe00b46
13 changed files with 1062 additions and 48 deletions
9
programs/traveldings/src/commands/current_journey.rs
Normal file
9
programs/traveldings/src/commands/current_journey.rs
Normal file
|
@ -0,0 +1,9 @@
|
|||
use crate::traewelling::TraewellingClient;
|
||||
|
||||
pub async fn get_current_journey() -> anyhow::Result<()> {
|
||||
let client = TraewellingClient::new()?;
|
||||
|
||||
println!("active: {:#?}", client.get_active_checkin().await?);
|
||||
|
||||
Ok(())
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue