hotspot activity A B C : throws an error as expected, however the following command will return an empty table with no results, instead of an error:
hotspot activity A
B
C
We should find the best way to detect and reject incorrect input however this also has to do with how the API behaves. For example, if the HTTP status code is 404 the bot should throw an error without trying to parse anything. However the API won't respond with 404, but with 200, when looking for activity of nonexistent hotspots.
hotspot activity A B C
: throws an error as expected, however the following command will return an empty table with no results, instead of an error:We should find the best way to detect and reject incorrect input however this also has to do with how the API behaves. For example, if the HTTP status code is 404 the bot should throw an error without trying to parse anything. However the API won't respond with 404, but with 200, when looking for activity of nonexistent hotspots.