I have access to an API that provides data, but I am only interested in the most recent information.
The newest data is always located at the end of the dataset. For instance, if there are 50 points of data, the latest would be number 50.
Can someone advise me on how I can retrieve just the latest data from the API? Thank you for your help.