Using the Mojang API to get the past UUID of a player with the given timestamp
Using a GET request with this endpoint:(https://api.mojang.com/users/profiles/minecraft/coined?at=1577664000)
The issue is, this is only getting the current UUID of the player currently holding the username, its ignoring the timestamp all together, and not getting the UUID from the past username, with the timestamp given.
Per the API documentation,
GET https://api.mojang.com/users/profiles/minecraft/<username>?at=<timestamp>
This will return the UUID of the name at the timestamp provided.
?at=0 can be used to get the UUID of the original user of that username, however, it only works if the name was changed at least once, or if the account is legacy.
The timestamp is a Unix timestamp (without milliseconds)
When the `at` parameter is not sent, the current time is used
Let me know if I am overlooking something incredibly simple here, or if its just the API. I've also tried using the API wrapper for node and its still giving the same issue.
EDIT: Appears the timestamp function of the api has been removed out of the blue, as per reports on the bug tracker. Seems like this functionality with the api will no longer be possible :/