Crates.io | spacex-api-wrapper |
lib.rs | spacex-api-wrapper |
version | 0.2.0 |
source | src |
created_at | 2018-08-19 13:26:34.202573 |
updated_at | 2018-08-21 11:46:07.203109 |
description | SpaceX API Wrapper |
homepage | https://github.com/AGutan/spacex-api-wrapper |
repository | https://github.com/AGutan/spacex-api-wrapper.git |
max_upload_size | |
id | 80229 |
size | 12,478 |
See the full API reference here
Via cargo
, add this to your project's Cargo.toml
:
[dependencies]
spacex-api-wrapper = "0.1.0"
extern crate spacex_api_wrapper;
use spacex_api_wrapper::SpaceXAPI;
let spacex_api = SpaceXAPI::new(None, None, None);
spacex_api.get_company_info()
.wait()
.map(|mut b| {
println!("{:?}", b.text());
});