Need a quick rest api end point written in ruby on rails and deployed to heroku
I would like mock data to return a random Latitude and loginitude and type ( either 1 or 0. in Jason Format.
The only parameter that is passed in is the number of records wanted returned.
So if the calling application passes in a 5 then the api should return 5 random records with the following data elements. lat, long, type.
The lattitude and longitude can be any valid coordinates in the united states and then each record should have a 1 or a 2 for the type.
This data will be plugged into Google maps by another application.
Once project is completed then just pass ownership of the heroku app to me.