Public Member Functions | |
def | __init__ |
def | call |
def | cancel |
def | contacts |
def | download |
def | login |
def | logout |
def | phones |
def | search |
def | send_sms |
def | settings |
def | special |
Some handy methods. | |
Properties | |
contacts = property(contacts) | |
phones = property(phones) | |
settings = property(settings) | |
special = property(special) | |
Private Member Functions | |
def | __do_page |
Helper methods. | |
def | __do_special_page |
def | __get_xml_page |
def | __messages_post |
def | __validate_special_page |
Private Attributes | |
_contacts | |
_special | |
Static Private Attributes | |
__call__ = call | |
_Message__messages_post = __messages_post | |
_Phone__do_special_page = __do_special_page | |
_Phone__validate_special_page = __validate_special_page |
Main voice instance for interacting with the Google Voice service Handles login/logout and most of the baser HTTP methods
def googlevoice.voice.Voice.__init__ | ( | self | ) |
def googlevoice.voice.Voice.__do_page | ( | self, | |
page, | |||
data = None , |
|||
headers = {} |
|||
) | [private] |
def googlevoice.voice.Voice.__do_special_page | ( | self, | |
page, | |||
data = None , |
|||
headers = {} |
|||
) | [private] |
def googlevoice.voice.Voice.__get_xml_page | ( | self, | |
page, | |||
data = None , |
|||
headers = {} |
|||
) | [private] |
def googlevoice.voice.Voice.__messages_post | ( | self, | |
page, | |||
msgs, | |||
kwargs | |||
) | [private] |
def googlevoice.voice.Voice.__validate_special_page | ( | self, | |
page, | |||
data = {} , |
|||
kwargs | |||
) | [private] |
def googlevoice.voice.Voice.call | ( | self, | |
outgoingNumber, | |||
forwardingNumber = None , |
|||
phoneType = None , |
|||
subscriberNumber = None |
|||
) |
def googlevoice.voice.Voice.cancel | ( | self, | |
outgoingNumber = None , |
|||
forwardingNumber = None |
|||
) |
def googlevoice.voice.Voice.contacts | ( | self | ) |
def googlevoice.voice.Voice.download | ( | self, | |
msg, | |||
adir = None |
|||
) |
Download a voicemail or recorded call MP3 matching the given ``msg`` which can either be a ``Message`` instance, or a SHA1 identifier. Saves files to ``adir`` (defaults to current directory). Message hashes can be found in ``self.voicemail().messages`` for example. Returns location of saved file.
def googlevoice.voice.Voice.login | ( | self, | |
email = None , |
|||
passwd = None |
|||
) |
def googlevoice.voice.Voice.logout | ( | self | ) |
def googlevoice.voice.Voice.phones | ( | self | ) |
def googlevoice.voice.Voice.search | ( | self, | |
query | |||
) |
def googlevoice.voice.Voice.send_sms | ( | self, | |
phoneNumber, | |||
text | |||
) |
def googlevoice.voice.Voice.settings | ( | self | ) |
def googlevoice.voice.Voice.special | ( | self | ) |
googlevoice::voice.Voice::__call__ = call [static, private] |
googlevoice::voice.Voice::_contacts [private] |
googlevoice::voice.Voice::_Message__messages_post = __messages_post [static, private] |
googlevoice::voice.Voice::_Phone__do_special_page = __do_special_page [static, private] |
googlevoice::voice.Voice::_Phone__validate_special_page = __validate_special_page [static, private] |
googlevoice::voice.Voice::_special [private] |
googlevoice::voice.Voice::contacts = property(contacts) [static] |
googlevoice::voice.Voice::phones = property(phones) [static] |
googlevoice::voice.Voice::settings = property(settings) [static] |
googlevoice::voice.Voice::special = property(special) [static] |