Get a random entry with an API call

I needed a random sample in the past, too. Here is a solution for multiple items with the SQLite database: