Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd "last updated" date to data returned from REST endpoint #18
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
I was interested in seeing the last updated from data source (https://corona.lmao.ninja) endpoint that is called by the CLI to understand when that data point came in. It may also be valuable to see when the CLI was called but that does not tell the age of the actual data that is from the endpoint. |
This comment has been minimized.
This comment has been minimized.
|
@smbyers the code gets the updated time from the API at this endpoint: https://corona.lmao.ninja/all. |
This comment has been minimized.
This comment has been minimized.
|
@floturcocantsee I had been looking specifically by country and did not see a date. I guess technically the date at the /all endpoint would be the last updated for all the data (meaning data does not come in at different times per country). |
This comment has been minimized.
This comment has been minimized.
|
There is the endpoint provided for the data from John Hopkins University: https://corona.lmao.ninja/jhucsse. |
Include the date when the data was last updated in the response from the REST endpoint at ttps://corona.lmao.ninja