dronefly-garden / dronefly

Red Discord Bot V3 cogs for naturalists.
Other
16 stars 3 forks source link

eBird: rewrite hybrids command as general purpose obs (observation) command #21

Open synrg opened 5 years ago

synrg commented 5 years ago

Simplify the hybrids command and make it more generally useful by rewriting it as an observation search command with arguments that directly correspond to those supported in the eBird API, e.g. [p]obs region=US-MA days=7 cat=hybrids, but perhaps supporting a few non-keyword arguments for ease of use, following a similar design as the [p]inat taxon command, which understands keyword and other uniquely identifiable arguments by context.

See also #20 which could be the basis of a command parser for easy to remember, expressive query statements that map behind the scenes to various eBird data/obs API calls.

synrg commented 5 years ago

See https://github.com/synrg/quaggagriff/issues/7#issuecomment-537476568 re. help wanted.