Closed HamishWHC closed 3 years ago
GET api.spacetraders.io/users/{{username}}/flight-plans is probably the best option. Should return:
GET api.spacetraders.io/users/{{username}}/flight-plans
{ "flightPlans": [ { "id": "cklvk22kb530709l98984jon9u6", "ship": "cklukug3c278802c889hwnf5z5i", "fuelConsumed": 14, "fuelRemaining": 0, "timeRemainingInSeconds": 59, "arrivesAt": "2021-03-05T00:25:11.384Z", "terminatedAt": null, "destination": "OE-D2", "departure": "OE-ZEP4", "distance": 24 } ] }
Would also be useful if it returned flight plan history as well, but could be filtered to only return active ones. I would quite like the ability to look at past movements.
GET api.spacetraders.io/users/{{username}}/flight-plans
is probably the best option. Should return: