benediktschmitt / py-ts3

A Python 3 API for the TeamSpeak 3 server query and file transfer interface.
http://py-ts3.readthedocs.io
Other
156 stars 31 forks source link
client-query filetransfer python server-query teamspeak ts3

PyTS3

Check out version 2 <https://github.com/benediktschmitt/py-ts3/tree/v2>_, which also supports the TS3 Client Query API and SSH!**. v1 will only receive bug fixes, but no more updates. So better start using v2. <<

This package provides a Python 3 API for:

You can find a complete API documentation here <http://py-ts3.readthedocs.org>_.

Installation

This package is registered on PyPi, so you're done with:

.. code-block:: bash

$ pip3 install ts3

TS3 Server configuration

If you want to send lots of queries to the TS3 server, make sure, that you're connection is not closed by the anti-flood protection of the TS3 server. So it may be wise to add the host that runs the TS3 queries to the query_ip_whitelist.txt of your TS3 server:

.. code-block:: bash

$ echo "192.168.178.42" >> path/to/ts3/server/directory/query_ip_whitelist.txt

Introduction

The easiest way to get to grips with this library is taking a look at the examples <https://github.com/benediktschmitt/py-ts3/tree/master/ts3/examples>_.

If you need information about the possible query commands, take a look at the TS3 Server Query Manual.

Examples ''''''''

You can find more examples in the ts3.examples package.

Bugs

If you found a bug please report it or sent a pull request.

Please report grammar or spelling errors too.

Versioning

For the version numbers, take a look at http://semver.org/.

License

This package is licensed under the MIT License.

The docstrings copied from the TS3 Server Query Manual are the property of the TeamSpeak Systems GmbH <http://www.teamspeak.com/>_.