https://github.com/podusowski/rhorizons
Access JPL's Horizons system from Rust
https://github.com/podusowski/rhorizons
jpl nasa space
Last synced: about 1 year ago
JSON representation
Access JPL's Horizons system from Rust
- Host: GitHub
- URL: https://github.com/podusowski/rhorizons
- Owner: podusowski
- License: mit
- Created: 2022-08-13T20:53:27.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-10-31T17:10:21.000Z (over 2 years ago)
- Last Synced: 2025-05-08T18:09:47.655Z (about 1 year ago)
- Topics: jpl, nasa, space
- Language: Rust
- Homepage:
- Size: 115 KB
- Stars: 3
- Watchers: 1
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](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
-
-