Skip to content
Discussion options

You must be logged in to vote

Thank you so much for your kind words and support towards the API!

To efficiently grab the latest updated speed values from the API without having to reload all the data, you can implement a strategy where you keep track of the most recent data you've fetched. Specifically, at each call to the API, take note of the latest "date" value of the returned data. When you make the next query to the API, you can include a parameter in your request that specifies you only want data that has been recorded after this latest "date" value. This can be achieved by adding the "date" query parameter to the API URL.

Also, you do not need to call the API multiple times per second for this use case. Please …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@DanieldeQuervain
Comment options

Answer selected by br-g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants