Skip to content

jpospychala/walutomat-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

walutomat-rs is a Rust library for interacting with Walutomat API.

  • Currency exchange on P2P currency market
  • Currency exchange with CurrencyOne, at guaranteed price
  • International transfers
extern crate walutomat;

fn main() {
  let client = walutomat::v2::Client::new("https://api.walutomat.pl", "key");
  let orderbook = client.market_fx_best_offers("EURPLN").unwrap().result.unwrap();
  
  println!("{}", orderbook.pair);
  for entry in orderbook.asks.iter().zip(orderbook.bids) {
    println!("{} {}", entry.0.price, entry.1.price);
  }
}

About

walutomat-rs is a Rust library for interacting with Walutomat API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages