Set up play framework with localhost:9000/api/ngrams/searches POST method that can be queried
with

curl --header "Content-type: application/json" —request POST --data '{ "dateFrom" : "2012-06-02", "dateTo" : "2012-08-23", "ngram" : "some ngram value" }' http://localhost:9000/api/ngrams/searches

n-joy!