Sample code for the Joshua Project API.