-
Notifications
You must be signed in to change notification settings - Fork 15
Meetupgroups
This object handles interaction with the groups grouping of Meetup API endpoints.
Please visit http://www.meetup.com/meetup_api/docs for more information about the groups endpoints
The following methods are provided for developer use
Returns a listing of all groups fitting the given parameters.
The getGroups() method takes as a parameter an associative array of values to pass to the Meetup API.
All possible parameters as well as response values are listed at http://www.meetup.com/meetup_api/docs/2/groups/
at least one of the following parameters is required
- campaign_id
- domain
- group_id
- group_urlname
- member_id
- organizer_id
- sponsor_id
$m = new MeetupGroups();
$groups = $m->getGroups( array( 'member_id' => $member_id ));
print_r($groups);
Returns a listing of all group comments fitting the given parameters.
The getComments() method takes as a parameter an associative array of values to pass to the Meetup API.
All possible parameters as well as response values are listed at http://www.meetup.com/meetup_api/docs/comments/
at least one of the following parameters is required
- group_id
- group_urlname
- topic,groupnum
$m = new MeetupGroups();
$comments = $m->getComments( array( 'group_id' => $group_id ));
dBug($comments);