alexgtn / spacex-api-wrapper

SpaceX API wrapper written in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SpaceX API wrapper written in Rust

SpaceX-API-Wrapper Crate 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.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());
    });

About

SpaceX API wrapper written in Rust

License:MIT License


Languages

Language:Rust 100.0%