spacex-api-wrapper

Crates.iospacex-api-wrapper
lib.rsspacex-api-wrapper
version0.2.0
sourcesrc
created_at2018-08-19 13:26:34.202573
updated_at2018-08-21 11:46:07.203109
descriptionSpaceX API Wrapper
homepagehttps://github.com/AGutan/spacex-api-wrapper
repositoryhttps://github.com/AGutan/spacex-api-wrapper.git
max_upload_size
id80229
size12,478
Alex Gutan (AGutan)

documentation

README

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());
    });
Commit count: 21

cargo fmt