Crate fiocz_rs

Source
Expand description

Fio API client

§Example

use fiocz_rs::Fio;

#[tokio::main]
async fn main() {
    let fio = Fio::new("token");

   match fio.movements_since_last().await {
      Ok(statement) => {
          println!("Got newest movements containing {} transactions", statement.account_statement.transaction_list.transaction.len())
     }
     Err(e) => {
         println!("Failed to get newest account movements: {:?}", e)
     }
 }
}

§Current functionality

  • Get account movements in period
  • Get account movements since last
  • Get account statement
  • Get last statement id
  • Set last movement id
  • Set last movement date
  • Import transactions

Modules§

error
Error types
types
This module contains all the types used in the application.

Structs§

Fio
Fiocz API client