5 releases
0.0.5 | Jun 3, 2022 |
---|---|
0.0.4 | May 31, 2022 |
0.0.3 | May 30, 2022 |
0.0.2 | May 30, 2022 |
0.0.1 | May 29, 2022 |
#695 in Authentication
7KB
129 lines
XTB API
This crate serves as a wrapper for the XTB API http://developers.xstore.pro/documentation/
Usage
pub fn main() {
// New instance of Client with specified ConnectionType
let mut client = Client::new(xtb_api::models::ConnectionType::Demo);
// Login in with userId and password
client.login(12345, String::from("password")).unwrap();
// Get Balance
let balance = client.balance().unwrap();
}
Dependencies
~0.7–10MB
~115K SLoC