spacex-api-wrapper

SpaceX API Wrapper

2 unstable releases

Uses old Rust 2015

0.2.0 Aug 21, 2018
0.1.0 Aug 19, 2018

MIT/Apache

8KB
132 lines

SpaceX API wrapper written in Rust

GitHub issues GitHub stars GitHub license

API Reference

See the full API reference here

Installation

Via cargo, add this to your project's Cargo.toml:

[dependencies]
spacex-api-wrapper = "0.1.0"

Usage example

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());
    });

Dependencies

~15–24MB
~410K SLoC