aaronpk / Google-Voice-PHP-API

Unmaintaned: Please do not contact me with support requests. If this no longer works, it's because Google Voice changed their systems. I will accept pull requests that fix things. Check out http://twilio.com for a much better API for sending and receiving SMSs.
Other
228 stars 108 forks source link

Google-Voice-PHP-API Updates #4

Closed rhodey closed 11 years ago

rhodey commented 11 years ago

Hey aaronpk,

I used this API a couple years ago to send DJs from my radio station reminders 10 minutes before their show was supposed to start. Then Google changed something with their authentication and the class no longer worked. I felt like having this functionality again so I updated the API to work with Google's authentication changes, and also added a few things.

_logIn() now works. getNewVoicemail() had to be edited slightly. getReadSMS() was added to return read SMS messages. getReadVoicemail() was added to return read voicemails. markMessageUnread() was added to mark an SMS or voicemail as read. getNewSMS() renamed to getUnreadSMS() for sake of Google's naming conventions. getNewVoicemail() renamed to getUnreadVoicemail() for sake of Google's naming conventions. markSMSRead() renamed to markMessageRead() for sake of Google's naming conventions.

I've tested all functionality completely, and the class is back to working condition. I know quite a few people online used this class at one point, hope you're willing to pull my changes.

-- Rhodey

aaronpk commented 11 years ago

Thanks!