from googlevoice import Voice, util voice = Voice() voice.login() searchterm = util.input('Search query: ') # print all pages of results, oldest to newest page = 1 folder = voice.search(searchterm) util.print_('Found %s messages: ' % len(folder)) while len(folder.messages) > 0: for msg in sorted(folder.messages, key=lambda m: m.startTime, reverse=True): util.print_('%s %s' % (msg.displayStartDateTime, msg.phoneNumber)) page += 1 folder = voice.search(searchterm, page)
from googlevoice import Voice,util,settings voice = Voice() voice.login() for feed in settings.FEEDS: util.print_(feed.title()) for message in getattr(voice, feed)().messages: util.print_('\t', message)
from googlevoice import Voice,util voice = Voice() voice.login() folder = voice.search(util.input('Search query: ')) util.print_('Found %s messages: ', len(folder)) util.pprint(folder.messages)
from googlevoice import Voice,util voice = Voice() voice.login() for message in voice.voicemail().messages: util.print_(message)
from googlevoice import Voice, util voice = Voice() voice.login() for message in voice.voicemail().messages: util.print_(message)
from googlevoice import Voice, util voice = Voice() voice.login('*****@*****.**', 'Crown87InfernalPigeon') number = '+16056514032' folder = voice.search(util.input()='+16056514032') util.print_('Found %s messages: ', len(folder)) util.pprint(folder.messages)
from googlevoice import Voice, util, settings voice = Voice() voice.login() for feed in settings.FEEDS: util.print_(feed.title()) for message in getattr(voice, feed)().messages: util.print_('\t', message)