miaowware / qrm2

A discord bot with ham radio functions
Other
19 stars 13 forks source link

satellite command #107

Open 0x5c opened 4 years ago

0x5c commented 4 years ago
classabbyamp commented 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

classabbyamp commented 4 years ago

is being bumped to a later version

Notes:

classabbyamp commented 4 years ago

in progress work on this command is in the branch sat-cmd

0x5c commented 4 years ago

It would be somewhat easy to filter and match names from the provided nasabare.txt list. Worse part is parsing the file.

classabbyamp commented 3 years ago

at this point, I think it would be better to switch to using n2yo as our data source.

0x5c commented 3 years ago

So a full rewrite? Does ny2o support all the feature we used, and will it require gridtools?

classabbyamp commented 3 years ago

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

0x5c commented 3 years ago

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

classabbyamp commented 3 years ago

I think n2yo has a superset of info VS sat match. good idea on the gridtools

0x5c commented 3 years ago

Let's switch then New issue to start fresh?

classabbyamp commented 3 years ago

big issue with N2YO: only 1 observer for passes. we should bug the satmatch author again instead.