A Ruby wrapper for the Meetup REST API v2.
Sample code is worth a thousand words:
RMeetup::Client.api_key = "API_KEY" results = RMeetup::Client.fetch(:events,{:zip => "ZIP_CODE"}) results.each do |result| # Do something with the result end
RMeetup::Client.fetch takes a data model type and set of options as arguments. Possible data models are:
-
:topics
-
:cities
-
:members
-
:rsvps
-
:events
-
:groups
-
:comments
-
:photos
-
:venues
The options that may be passed can be found on the Meetup API documentation. Please see www.meetup.com/meetup_api/docs/ and look up the model that you are calling (i.e. for :events, look at the API call “GET /2/events” at www.meetup.com/meetup_api/docs/2/events/).
RMeetup::Client.poster takes a data model type and set of options as arguments. Possible data models are:
-
:event_comment
The options that may be passed can be found on the Meetup API documentation. Please see www.meetup.com/meetup_api/docs/ and look up the model that you are calling (i.e. for :event_comment, look at the API call “POST /2/event_comment” at www.meetup.com/meetup_api/docs/2/event_comment/).
gem install rMeetup
[Jared Pace](github.com/jdpace/rmeetup) - built initial iteration [Jason Berlinsky](github.com/Jberlinsky/rmeetup) - forked, expanded, documented for api v1.0 [Tommy Chan](github.com/tommytcchan/rmeetup) - added venues, updated to api v2.0 [Tanner Mares](github.com/tannermares/rmeetup) - check for type in base_url, fix event time and venue, also updated to api v2.0 [Joshua Calloway](github.com/joshuacalloway/rmeetup) - added post functionality and event comment creation [Zishan Ahmad](github.com/zishan/rmeetup) - consolidated changes, updated docs