This API hashes a string that you send it and will display an image generated based on that hash. This could be useful for people developing RPG style games where the character's picture can be generated based on the name or for a profile picture for a website where you don't want your actual face. See below for a screenshot of an image using "qb64.org" as the string:
And here is the source code:
i& = Robohash("qb64.org")
URLFile = stringhash + ".png"
URL = "https://robohash.org/" + stringhash
a% = API_request(URL, URLFile)
Robohash = 0
API_request
= URLDownloadToFileA
(0, URL
+ CHR$(0), File
+ CHR$(0), 0, 0)