Provides an API for Linksys/Sipura VoIP SPA Phones
Project description
SPA Phone API provides an API for Linksys/Sipura SPA IP Phones. It can be used to programmatically update the phone’s address book. Combining it into other scripts it can be used to sync the phone’s address book with (for example) Google Contacts.
Installation
Installation with pip:
$ pip install spa-phone-api
Command Line Usage
Update the address book from OS X Contact. Defaults to sync all contacts, but an optional group paramater can be specified.
$ spa-sync ip-address [--group]
Usage
Read the address book
import spa_phone spa_phone.read('10.0.1.8')
Update the address book
import spa_phone spa_phone.write('10.0.1.8', [ ('Bouke Haarsma', '+31508200267'), ('WebAtoom', '+31508200267'), ('Apple Store', '+18006927753'), ])
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
spa-phone-api-0.2.2.tar.gz
(4.6 kB
view details)
File details
Details for the file spa-phone-api-0.2.2.tar.gz
.
File metadata
- Download URL: spa-phone-api-0.2.2.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 091f00d3c73bca2469641a20e870103ce46fe804fd63e6d92d7d5ee331d351fe |
|
MD5 | 83425f94ba048edb98709afbd57d2817 |
|
BLAKE2b-256 | eb7b1f999cfd62abc097e547554ea38097e271a4a1b0f883934a9a5fcf6dad48 |