Space Api
First version of my Space-related API
The Space-related API I alluded to before
is now implemented and deployed via Fargate! It’s basically a wrapper around
TLE-tools
that provides two methods:
- Decode: this is the functionality discussed before;
it returns the string representation of class
tletools.TLE
for the input TLE.
- ToOrbit: I learned about this functionality by reading the implementation
of
TLE-tools
(and realizing there’s a lot more to research); it returns the string representation of classpoliastro.twobody.orbit.Orbit
for the input TLE. Example output:
6555 x 6722 km x 51.6 deg (GCRS) orbit around Earth (♁) at epoch 1998-11-20T06:49:59.999808000 (UTC)
This is the proto
definition for the API:
Check out this script for examples of how to invoke the API via gRPC and REST.