You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
This feature request is not related to a problem. This request is to add 2 datapoints to the existing 'latest' API data output.
This is a 'quality of tweak' for sure! 👍🏼
Describe the solution you'd like
With residential internet speeds getting better, I recently upgraded my 1GB internet to 2GB. As a result, my speed tests are in the 1900 - 2300 Mbps range, as opposed to 800-950Mbps. I have a Stream Deck displaying my speeds and this is documented here. However, given that my results (since the upgrade) now display more digits, this makes is very congested on the StreamDeck button, PLUS... with so many tools that are(frustratingly) implementing regex and number formatting in their own unique ways, it would be beneficial if there were 2 data points added to the API that return the data in a clean 'pre-formatted' manner, so I could query those fields instead. Essentially, showing the results in the same format the 'Results' grid currently does in the app.
APIs should never return formatted data, ever. (nor should they duplicate existing data 😖)
Formatting should happen in the client.
I hate my co-workers who do this, creating duplicated and useless fields in my API responses thus making the response bigger just because they are too lazy to do formatting in the client app, and they always revert their PRs after I talk some sense into them 😬
So I won't be making changes to this route and the future api responses will be in bytes (what the CLI returns) and in bits. We're doing this for the Influxdb integration for consistency already.
APIs should never return formatted data, ever. (nor should they duplicate existing data 😖)
Formatting should happen in the client.
I hate my co-workers who do this, creating duplicated and useless fields in my API responses thus making the response bigger just because they are too lazy to do formatting in the client app, and they always revert their PRs after I talk some sense into them 😬
@sunnycloudy1337 - Honestly, I can't say I disagree with you there... on both points! Both are very valid, and I will not contest you at all. 👍🏼
The client I am working with is 'API Ninja' a plugin for the StreamDeck. I'll contact them to see if they can do a better job at the formatting they do for data. That said, it may well just be a UI\UX 'issue' on their part... its not the most intuitive.
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
With residential internet speeds getting better, I recently upgraded my 1GB internet to 2GB. As a result, my speed tests are in the 1900 - 2300 Mbps range, as opposed to 800-950Mbps. I have a Stream Deck displaying my speeds and this is documented here. However, given that my results (since the upgrade) now display more digits, this makes is very congested on the StreamDeck button, PLUS... with so many tools that are(frustratingly) implementing regex and number formatting in their own unique ways, it would be beneficial if there were 2 data points added to the API that return the data in a clean 'pre-formatted' manner, so I could query those fields instead. Essentially, showing the results in the same format the 'Results' grid currently does in the app.
Example output:
Note the suggested "download_gb" and "upload_gb" fields that round up\down to the 2nd decimal place. 😉
Additional context
Thanks for considering.
://mk
The text was updated successfully, but these errors were encountered: