foursquare2 icon indicating copy to clipboard operation
foursquare2 copied to clipboard

Foursquare Batch Request.

Open ptolts opened this issue 12 years ago • 3 comments

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.

ptolts avatar Nov 27 '12 21:11 ptolts

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.

mattmueller avatar Dec 11 '12 20:12 mattmueller

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.

ptolts avatar Dec 11 '12 20:12 ptolts

+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

alexslade avatar Apr 05 '13 10:04 alexslade