This repository has been archived by the owner. It is now read-only.
Provides an API for Linksys/Sipura VoIP SPA Phones
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE.txt
MANIFEST.in
README.rst
setup.py
spa_api.py
tests.py

README.rst

SPA Phone API

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 build scripts that sync the phone's address book with Google Contacts or CRM services.

Installation

Installation with pip:

$ pip install spa-phone-api

Usage

Read the address book

import spa_api
spa_api.read('10.0.1.8')

Update the address book

import spa_api
spa_api.write('10.0.1.8', [
    ('Bouke Haarsma', '+31508200267'),
    ('WebAtoom', '+31508200267'),
    ('Apple Store', '+18006927753'),
])

Contributions

Contributions welcome!