Skip to content

Instantly share code, notes, and snippets.

@wcauchois
Created July 21, 2013 21:46
Show Gist options
  • Save wcauchois/6050119 to your computer and use it in GitHub Desktop.
Save wcauchois/6050119 to your computer and use it in GitHub Desktop.
(GeocodeResponse latLng) <- (callJsonEndpoint $ GeocodeEndpoint targetAddress False :: IO GeocodeResponse)
let venuesTrendingEndpoint = VenuesTrendingEndpoint latLng Nothing Nothing `authorizeWith` creds
(VenuesTrendingResponse venues) <- (callJsonEndpoint venuesTrendingEndpoint :: IO VenuesTrendingResponse)
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