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

MeetupApiRequest Object

The MeetupApiRequest object is arguably the most important class in this entire package. The MeetupApiRequest object is responsible for for all the communication between the client and the server, handles all the connection details and routes the results to the proper location. Despite how powerful this class sounds it was also designed with simplicity in mind. Instead of being overly complex as some API clients are this entire client package was designed with K.I.S.S. principles in mind (Need wikipedia link)[http://ben.lobaugh.net]. Though the Meetup API can send results in several formats (JSON, XML, ATOM, etc...) this client only recognized the JSON format due to is speed and ease of use. Recognizing only one format also helps cut down on the amount of client code needed to handle results. Additionally this client was designed in such a way that developers should never need to interact with the JSON result directly, but instead are given a (MeetupApiResponse)[wiki/MeetupApiResponse] object containing several useful methods with the added bonus that it is array accessible and also an iterator.

Enough high talk, let's dive into the code that developer will need to know to interact with the Meetup API if they wish to bypass the provided helper classes.

...

Clone this wiki locally