Skip to main content
Help us improve Python packaging – donate today!

A library for the XiVO web services.

Project Description

[![Build Status](https://travis-ci.org/xivo-pbx/xivo-ws.png?branch=master)](https://travis-ci.org/xivo-pbx/xivo-ws)

xivo-ws is a python library for accessing the “old” XiVO web services.

These web services are provided by the web-interface. They are obsolete and will be removed soon. You should not use them in new developments, and if you were already using them, you should migrate to the [XiVO REST APIs](http://documentation.xivo.io/en/stable/api_sdk/rest_api/rest_api.html).

Configuration

On your XiVO, you must create a web service user.

Example

~~~ from xivo_ws import XivoServer, User, UserLine

xivo_server = XivoServer(‘skaro’, ‘my_username’, ‘my_password’)

user = User() user.firstname = ‘Jack’ user.lastname = ‘Johnson’ user.line = UserLine(context=’default’, number=1001)

xivo_server.users.add(user) ~~~

More examples are available in the `examples` directory.

xivo-ws-debug

> users add

will pop your editor, in which you should write a Python dictionary to be sent to the WS

> users delete 32

will delete user whose id is 32.

`-v` option allows you to see what is sent and received to/from the WS.

Releasing a new version

git commit

Read version number in xivo_ws/version.py.

git tag <version>

make upload

git push –tags

Edit the version file and increase version number.

git commit

Release history Release notifications

This version
History Node

16.5.0

History Node

15.20.0

History Node

15.13.0

History Node

15.07.1

History Node

15.07.0

History Node

14.17.0

History Node

13.25.2

History Node

13.25.1

History Node

13.23.0

History Node

13.21.0

History Node

13.18.1

History Node

13.13.1

History Node

13.04.01

History Node

13.02.0

History Node

12.24.0

History Node

12.22.2

History Node

12.22.1

History Node

12.22.0

History Node

12.21.2

History Node

12.21.1

History Node

12.21.0

History Node

12.20.3

History Node

12.20.2

History Node

12.20.1

History Node

12.20.0

History Node

12.18.5

History Node

12.18.4

History Node

12.18.3

History Node

12.18.2

History Node

12.18.1

History Node

12.18.00

History Node

12.17.20

History Node

12.17.19

History Node

12.17.18

History Node

12.17.17

History Node

12.17.16

History Node

12.17.15

History Node

12.17.14

History Node

12.17.13

History Node

12.17.12

History Node

12.17.11

History Node

12.17.9

History Node

12.17.8

History Node

12.17.7

History Node

12.17.6

History Node

12.17.5

History Node

12.17.4

History Node

12.17.3

History Node

12.17.2

History Node

12.17.1

History Node

12.17.0

History Node

1.9

History Node

1.8.3

History Node

1.8.2

History Node

1.8.1

History Node

1.8

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
xivo-ws-16.5.0.tar.gz (48.9 kB) Copy SHA256 hash SHA256 Source None Apr 20, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page