Kosmos is a client library for a whole host of apis dealing with the
universe. This includes apis for our earth e.g. Geomagnetism data, sea
level data, as well as apis dealing with space. Specific services are exposed under
their respective owning organization, e.g. Nasa's Astronomy Photo of the
Day requires you to build a
NasaClient. This is because most organizations
share an auth strategy over all their services.
The apis are behind feature flags but all are included by default. If you
want to cherry-pick apis, use
deafult-features = false.
Organizations (and feature flags) with APIs we support (so far)
let asteroid = Kosmos::new().nasa().neo().lookup(3542519).await;
pub use self::error::Error;