-
Notifications
You must be signed in to change notification settings - Fork 15
Meetupphotos
This object handles interaction with the photos grouping of Meetup API endpoints.
Please visit http://www.meetup.com/meetup_api/docs for more information about the photo endpoints
The following methods are provided for developer use
Returns a listing of all member photos fitting the given parameters.
The getPhotos() 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/photos/
at least one of the following parameters is required
- event_id
- group_id
- member_id
- photo_album_id
- photo_id
- tagged
$m = new MeetupPhotos();
$photos = $m->getPhotos( array( 'member_id' => $member_id));
print_r($photos);
Returns a listing of all photo 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/2/photo_comments/
at least one of the following parameters is required
- photo_id
$m = new MeetupPhotos();
$comments = $m->getComments( array( 'photo_id' => $photo_id));
print_r($comments);
Returns a listing of all photo albums fitting the given parameters.
The getAlbums() 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/photo_comments/
at least one of the following parameters is required
- event_id
- group_id
- photo_album_id
$m = new MeetupPhotos();
$albums = $m->getAlbums( array( 'group_id' => '1708069'));
print_r($albums);
To conform to the full Meetup API spec the following changes are required:
- Support POST