Meetup-API-client-for-PHP
Meetup-API-client-for-PHP copied to clipboard
Update MeetupApiRequest.class.php
you mention query in your notes, but it was missing from the source.
Sorry, where is query() mentioned? I could not find it on the wiki.
Your code is an easy shortcut, and I see no reason why not to have something like that, however I am on the fence as to whether it should be implemented as this.
I will put some thought into it. Anyone else have pros/cons?
query() method is mentioned in the README line 66 as of blobaugh:master:6307311aaf
Ah, I see now. I looked in the readme, my bad. There is also this wiki page
https://github.com/blobaugh/Meetup-API-client-for-PHP/wiki/Making-direct-Api-calls
Your solution is a decent shortcut, however you should return the entire response object, rather than the results. Let the devs chose how to handle it