foursquare-grails
The application is basically a wrapper for the foursquare venue search API. It is a rest API based on grails 3.3.11.
Setup
- Install grails 3.3.11
- IntelliJ Idea community
- Java 1.8
- Google geocoding credentials. Define two environment variables as follows that the application can pick up.
geocode_api
geocode_key
Usage
The following postman query will be a useful starting point to test the application. The auth token is for educational purposes and i don't see any issues about anyone using it
http://localhost:8080/search?name=McDonalds&street_name=Alexanderplatz &number=SBahnhof&city=Berlin&zip=10178&auth_token=1441307151_4492f25946a2e8e1414a8bb53dab8a6ba1cf4615
Note
- The application is based on google geocoding api and the foursquare venue search api. you need API keys for them to work. So if you don't have one please don't download this repository.