Added search api#4
Conversation
|
Thanks for the additions :) Adding the 3rd parameter to apiCall() makes sense for these and possibly future methods where they may be optional. |
|
No problem. I split them into two commits. There are still some inconsistencies within the code. Most variables use access modifiers, but some still use If you want to set a style, I can go in and fix them. Nexmo also recently came out with a search rejections api so that needs to be added as well. I don't know if I need that right now so I won't be implementing it myself at the moment. I don't remember why I added the |
Made changes to formatting and code style as well (please don't hate me)
New features are in NexmoAccount.php
searchMessage($message_id)searchMessages($ids)searchMessagesByRecipient($to, $date)Do you think the search api should be done like:
rather than the third paramater to
apiCallI added to append GET parameters to the URL?