Skip to content

tomafc330/rmeetup

This branch is 2 commits ahead of, 5 commits behind Jberlinsky/rmeetup:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Tommy Chan
Jan 30, 2014
2e6fd4c · Jan 30, 2014

History

26 Commits
Jan 30, 2014
Jan 30, 2014
Jan 21, 2011
Apr 12, 2012
Apr 12, 2012
Apr 12, 2012
Jan 21, 2011
Jan 21, 2011
Jan 21, 2011
Jan 30, 2014

Repository files navigation

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 but.

About

A Ruby Gem for accessing the Meetup.com API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%