Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A Ruby Gem for accessing the Meetup.com API
Ruby
Branch: master
Pull request Compare This branch is 24 commits ahead of jdpace:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib remove references to Echoe, replace with bundler
spec add support for API versioning, including v2 support for events
.gitignore remove references to Echoe, replace with bundler
.travis.yml
Gemfile remove references to Echoe, replace with bundler
Gemfile.lock
Manifest Removed UTF8 default, and packaged for Gemcutter
README.rdoc Update README.rdoc
Rakefile
rMeetup.gemspec remove references to Echoe, replace with bundler

README.rdoc

rMeetup

A simple Ruby gem to access the Meetup API.

Code Sample

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

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 /events” at www.meetup.com/meetup_api/docs/events/).

Installation

gem install rMeetup

Credit

Credit goes to Jared Pace for building the initial iteration of this gem. I just forked it, expanded and documented it a bit.

Something went wrong with that request. Please try again.