Skip to content

Instantly share code, notes, and snippets.

@mgsloan
Forked from wcauchois/gist:6050119
Last active December 20, 2015 01:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mgsloan/6050213 to your computer and use it in GitHub Desktop.
Save mgsloan/6050213 to your computer and use it in GitHub Desktop.
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