An open API service indexing awesome lists of open source software.

https://github.com/podusowski/rhorizons

Access JPL's Horizons system from Rust
https://github.com/podusowski/rhorizons

jpl nasa space

Last synced: 15 days ago
JSON representation

Access JPL's Horizons system from Rust

Awesome Lists containing this project

README

        

[![crates.io](https://img.shields.io/crates/v/rhorizons.svg)](https://crates.io/crates/rhorizons)

Access NASA JPL Horizons system from Rust. This crate is written in asynchronous
code, therefore you probably want to use it in conjunction with `tokio`.

## Example

```rust
#[tokio::main]
async fn main() {
println!("Major bodies in the Solar System.");

for body in rhorizons::major_bodies().await {
println!("{} ({})", body.name, body.id);
}
}
```

You can check more examples in
[the source repository](https://github.com/podusowski/rhorizons/tree/main/examples).

## Useful links

-
-