Open 0x5c opened 4 years ago
Set the request type to application/json or set ?json=true to get json results instead of rendered pages or images.
We should be able to construct embeds for this
example: https://www.satmatch.com/satellite/FO-29/obs1/CN87UO/obs2/EN61ev40?duration_hrs=72&json=true
is being bumped to a later version
Notes:
in progress work on this command is in the branch sat-cmd
It would be somewhat easy to filter and match names from the provided nasabare.txt
list. Worse part is parsing the file.
at this point, I think it would be better to switch to using n2yo as our data source.
So a full rewrite? Does ny2o support all the feature we used, and will it require gridtools?
ya pretty much a full rewrite. not like there was much useful code there anyways, with how old it is. n2yo should be able to show things like max elevation and pass lengths. gridtools possibly required, but it's a super-simple integration, especially whe it's already used in the bot
I don't really remember the original sat command, is there any info it had that ny2o does not? As for gridtools, would allow for accepting both squares and lat/long, and even do conversion if wrapped in a converter
I think n2yo has a superset of info VS sat match. good idea on the gridtools
Let's switch then New issue to start fresh?
big issue with N2YO: only 1 observer for passes. we should bug the satmatch author again instead.