Reading Time: 1 minute read
Just as Gary and Wayne talked about not building an API, I did it.
The API returns a random graffiti image from a database I have: http://publicartfound.herokuapp.com/get_graffiti
The API return a JSON object containing a URL to a graffiti image. It looks like this:
{
data: ""https://s3.amazonaws.com/lkbg-aws-box/10790544143_0b07aab385_o.jpg""
}
Although this isnt keep score correctly, the quiz game is cycling random images.