foursquare2
foursquare2 copied to clipboard
Foursquare Batch Request.
I whipped this up really quickly. "search_multiple_venues" allows a user to send up to 5 requests at a time. It might be too ugly to accept, but it gets the idea across.
Thanks for the quality gem, it's come in handy.
Hey Philip -
Thanks for this. As a starting point could you add a basic test/spec to this? There is definitely still some room for cleanup in this but having a test is probably a good starting point.
Sorry for the late reply.
No problem!
Truthfully I'm totally inexperienced when it comes to writing tests. I'll try and work something out when I get some time.
Thanks for the input, I'll let you know.
Phil
On Tue, Dec 11, 2012 at 3:04 PM, mattmueller [email protected]:
Hey Philip -
Thanks for this. As a starting point could you add a basic test/spec to this? There is definitely still some room for cleanup in this but having a test is probably a good starting point.
Sorry for the late reply.
— Reply to this email directly or view it on GitHubhttps://github.com/mattmueller/foursquare2/pull/45#issuecomment-11260159.
+1 Batch requests (in my case, getting "complete" details on multiple venues at once) would be awesome. I'm in the middle of a hackday right now (using this api!) but will circle around again to check this out and see if I can contribute