-
-
Save mgsloan/6050213 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GeocodeResponse latLng <- callJsonEndpoint $ GeocodeEndpoint targetAddress False | |
let venuesTrendingEndpoint = VenuesTrendingEndpoint latLng Nothing Nothing `authorizeWith` creds | |
VenuesTrendingResponse venues <- callJsonEndpoint venuesTrendingEndpoint | |
let printVenue v = putStrLn $ "- " ++ name v | |
mapM_ printVenue venues |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment