Description Usage Arguments Details Value Examples
Produces the timestamp for the last update in GMT.
1 | last_update(filters, structure)
|
filters |
API filters. See the API documentations for additional information. |
structure |
Structure parameter. See the API documentations for additional information. |
This function supplies the API time - i.e. the time at which the data were
deployed to the database. Please note that there will always be a difference
between this time and the timestamp that is displayed on the website, which may
be accessed via the get_release_timestamp()
function. The website timestamp
signifies the time at which the data were release to the API, and by extension
the website.
It may take up to 60 seconds for the data to be updated when the release timestamp
(get_release_timestamp()
) is updated. This is because the cache must refresh before
the new data becomes available. The API timestamp (last_update()
), however, is only
updated when the cache has been refreshed. This means that you can only be certain that
you are receiving the most up-to-data data when the last_update()
timestamp for your
specific parameters have been updated.
The output of this function is specific to a combination of filters
and structure
.
closure Timestamp of the last update.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.