spacex-api-wrapper 0.2.0

SpaceX API Wrapper
Documentation

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