Skip to content
blobaugh edited this page Dec 26, 2011 · 2 revisions

Meetup Groups

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

Methods

The following methods are provided for developer use

getGroups( $Parameters )

Returns a listing of all groups fitting the given parameters.

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

Example usage

$m = new MeetupGroups();

$groups = $m->getGroups( array( 'member_id' => $member_id ));

print_r($groups);

getComments( $Parameters )

Returns a listing of all group comments fitting the given parameters.

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

Example usage

$m = new MeetupGroups();

$comments = $m->getComments( array( 'group_id' => $group_id ));

dBug($comments);
Clone this wiki locally