add documentation for IdentMap
This commit is contained in:
parent
af3ea48a2d
commit
9c0ebc18ed
|
@ -56,7 +56,7 @@ author = 'Thor77'
|
||||||
# The short X.Y version.
|
# The short X.Y version.
|
||||||
version = '0.2'
|
version = '0.2'
|
||||||
# The full version, including alpha/beta/rc tags.
|
# The full version, including alpha/beta/rc tags.
|
||||||
release = '0.2.5'
|
release = '0.2.6'
|
||||||
|
|
||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
# for a list of supported languages.
|
# for a list of supported languages.
|
||||||
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
IdentMap
|
||||||
|
********
|
||||||
|
An IdentMap is used to map multiple (U)ID's of one client to one client.
|
||||||
|
This can be useful, if a user creates multiple identities and you want to summarize all actions from all identities.
|
||||||
|
|
||||||
|
TeamspeakStats' IdentMap-file is saved in json-format::
|
||||||
|
|
||||||
|
{
|
||||||
|
'2': '1',
|
||||||
|
'3': '1',
|
||||||
|
'4': '1'
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
If you would pass this IdentMap to TeamspeakStats and your log would contain entries for clients with id's 1, 2, 3 and 4,
|
||||||
|
your output will just show data for one client (1).
|
||||||
|
|
||||||
|
To pass an IdentMap to TeamspeakStats, create your IdentMap as shown above and pass it to the cli::
|
||||||
|
|
||||||
|
tsstats --idmap <path to idmap.json>
|
|
@ -7,3 +7,4 @@ Contents:
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
|
|
||||||
api
|
api
|
||||||
|
identmap
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -2,7 +2,7 @@ from setuptools import setup
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='tsstats',
|
name='tsstats',
|
||||||
version='0.2.5',
|
version='0.2.6',
|
||||||
author='Thor77',
|
author='Thor77',
|
||||||
author_email='thor77@thor77.org',
|
author_email='thor77@thor77.org',
|
||||||
description='A simple Teamspeak stats-generator',
|
description='A simple Teamspeak stats-generator',
|
||||||
|
|
Loading…
Reference in New Issue