Python wrapper for C3 Squirrel Voicemail HTTP API
Project description
# python-squirrelapi
[![Build Status](https://secure.travis-ci.org/oucs/python-squirrelapi.png?branch=master)](http://travis-ci.org/oucs/python-squirrelapi)
This project wraps the Squirrel HTTP API and provides sensible Python object representations for key resources (users, mailboxes and messages for example).
Example code for authenticating and downloading all your messages as '.wav' files to the working directory.
user = VoicemailUser(555555) # Mailboxno
user.login(123456) # pin
messages = user.get_messages()
for message in messages:
contents = message.retrieve()
m = open('%s.wav' % message.id, 'w')
m.write(contents)
## Tests
You can run tests using:
python setup.py test
## Revision
This has been developed against the C3 Squirrel documentation "Issue 11".
[![Build Status](https://secure.travis-ci.org/oucs/python-squirrelapi.png?branch=master)](http://travis-ci.org/oucs/python-squirrelapi)
This project wraps the Squirrel HTTP API and provides sensible Python object representations for key resources (users, mailboxes and messages for example).
Example code for authenticating and downloading all your messages as '.wav' files to the working directory.
user = VoicemailUser(555555) # Mailboxno
user.login(123456) # pin
messages = user.get_messages()
for message in messages:
contents = message.retrieve()
m = open('%s.wav' % message.id, 'w')
m.write(contents)
## Tests
You can run tests using:
python setup.py test
## Revision
This has been developed against the C3 Squirrel documentation "Issue 11".
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
squirrelapi-0.6.1.tar.gz
(8.6 kB
view details)
File details
Details for the file squirrelapi-0.6.1.tar.gz
.
File metadata
- Download URL: squirrelapi-0.6.1.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d9fd30960a9123f03fb6fcbf463fc3bd317744123d75eda468f4d5e76dfbfe6 |
|
MD5 | 987452f21b027a997dbdaac36e6d2d69 |
|
BLAKE2b-256 | b2324eba2a03db8b3f54dc2154a227878144fd567dd920660244d3f55fd77bf7 |