From d5ed15494cb28f350c65cd911ff71dadffd82971 Mon Sep 17 00:00:00 2001 From: php-novice Date: Wed, 3 Oct 2012 05:10:13 -0700 Subject: [PATCH] Update MeetupApiRequest.class.php you mention query in your notes, but it was missing from the source. --- MeetupApiRequest.class.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/MeetupApiRequest.class.php b/MeetupApiRequest.class.php index d263d56..022b589 100644 --- a/MeetupApiRequest.class.php +++ b/MeetupApiRequest.class.php @@ -22,6 +22,12 @@ public function get( $Url ) { public function buildUrl( $EndPoint, $Parameters, $RequiredParameters = null ) { return $this->_conn->buildUrl( $EndPoint, $Parameters, $RequiredParameters ); } + + public function query( $EndPoint, $Parameters, $RequiredParameters = null ) { + $url = $this->buildUrl( MEETUP_ENDPOINT_EVENTS, $Parameters, $required_params ); + $response = $this->get( $url )->getResponse(); + return $response['results']; + } } // end class