SpaceX API wrapper written in Rust
August 21, 2018 ยท View on GitHub
API Reference
See the full API reference here
Installation
Via cargo, add this to your project's Cargo.toml:
[dependencies]
spacex-api-wrapper = "0.2.0"
Usage example
extern crate spacex_api_wrapper;
use spacex_api_wrapper::SpaceXAPI;
let spacex_api = SpaceXAPI::default();
spacex_api.get_company_info()
.wait()
.map(|mut b| {
println!("{:?}", b.text());
});