A simple implementation of public API on local machine using Python and Flask.
main.py will use the path with images (snake_path) you'll have to choose yourself. To access the API you should enter http://127.0.0.1:777/snake/ and you'll get a snake image link.
You get the image by getting the full list of images, shuffling it and then choosing the first one in the list.