Andrew Williams 64595322f0 Fix ordering issues escaping/unescaping
It seems as we were storing our list of modifications in a dict we couldn't rely
on the order of them coming out the dict, this was causing issues with \n and \r
and caused the output to have \\n or \\r. Switching to a list of tuples resolved
the issue.
2011-06-06 10:59:45 +01:00
2011-03-02 22:28:32 +00:00
2011-06-06 09:25:42 +01:00

----------
python-ts3
----------

python-ts3 is a abstraction library around the Teamspeak 3 ServerQuery API. It 
allows native access to the ServerQuery API with most of the formatting 
headaches avoided.


Install
========

Download the most recent sourcecode and install it::

	git clone git://github.com/nikdoof/python-ts3.git
	cd python-ts3
	python setup.py install # sudo this


Example
========

Example showing how to create a channel and sub-channel for it using python-ts3 library::

	import ts3

	server = ts3.TS3Server('127.0.0.1', 10011)
	server.login('serveradmin', 'secretpassword')

	# choose virtual server
	server.use(1)

	# create a channel  
	response = server.send_command('channelcreate', keys={'channel_name': 'Just some channel'})

	# id of the newly created channel
	channel_id = response.data[0]['keys']['cid']

	# create a sub-channel
	server.send_command('channelcreate', keys={'channel_name': 'Just some sub-channel', 'cpid': channel_id})
Description
No description provided
Readme BSD-3-Clause 178 KiB
Languages
Python 100%