webuildsg/webuild — pull request #62 by laktek (2014-09-05 00:37:43+00:00)
Title: Fetch all Meetup group events using GET /events endpoint

Currently, `meetupEvents` job would fetch matching groups and then use the `next_event` field in the `group` object to fetch the event. There are two problems with this:
* If a group has more than one event scheduled, other events will be ignored. (#60)
* It makes a request for each event.

Instead of this, the following changeset will first fetch the matching group IDs and then issue a single request to `GET /events` endpoint with group IDs set as a request param. This will prevent both issues mentioned above.

(This also changes some of the local function names to be more condensed and match their intent. Exported functions aren't changed.)

Fixes #60