Skip to main content

A library for the XiVO web services.

Project description

xivo-ws
=======

xivo-ws is a python library for the XiVO web services.


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 :file:`examples` directory.


.. _XiVO server: http://documentation.xivo.fr/production/
.. _create a web service user: http://documentation.xivo.fr/production/api_sdk/web_services.html#configuration


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.


Create 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

Project details


Release history Release notifications

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

This version
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-12.17.11.tar.gz (31.3 kB) Copy SHA256 hash SHA256 Source None Aug 31, 2012

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