Browse Source
Merge pull request #1 from ValvePython/master
merge upstream
pull/213/head
Philipp Joos
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with
6 additions and
7 deletions
-
docs/user_guide.rst
-
requirements.txt
-
setup.py
-
steam/__init__.py
-
steam/core/cm.py
|
@ -144,7 +144,7 @@ WebAPI documentation |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
For a more complete list of all available interfaces and methods visit: |
|
|
For a more complete list of all available interfaces and methods visit: |
|
|
https://lab.xpaw.me/steam_api_documentation.html |
|
|
https://steamapi.xpaw.me/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SteamClient |
|
|
SteamClient |
|
|
|
@ -4,7 +4,7 @@ requests>=2.9.1,<2.22.0 |
|
|
vdf>=2.0 |
|
|
vdf>=2.0 |
|
|
gevent>=1.2.0 |
|
|
gevent>=1.2.0 |
|
|
protobuf>=3.0.0 |
|
|
protobuf>=3.0.0 |
|
|
gevent-eventemitter>=2.0 |
|
|
gevent-eventemitter>=2.1 |
|
|
enum34==1.1.2; python_version < '3.4' |
|
|
enum34==1.1.2; python_version < '3.4' |
|
|
coverage==4.0.3 |
|
|
coverage==4.0.3 |
|
|
pytest==3.2.1 |
|
|
pytest==3.2.1 |
|
|
|
@ -21,7 +21,7 @@ install_requires = [ |
|
|
'vdf>=2.0', |
|
|
'vdf>=2.0', |
|
|
'gevent>=1.2.0', |
|
|
'gevent>=1.2.0', |
|
|
'protobuf>=3.0.0', |
|
|
'protobuf>=3.0.0', |
|
|
'gevent-eventemitter>=2.0', |
|
|
'gevent-eventemitter>=2.1', |
|
|
'cachetools>=3.0.0', |
|
|
'cachetools>=3.0.0', |
|
|
] |
|
|
] |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,4 @@ |
|
|
__version__ = "1.0.0-alpha4" |
|
|
__version__ = "1.0.0-alpha6" |
|
|
__author__ = "Rossen Georgiev" |
|
|
__author__ = "Rossen Georgiev" |
|
|
|
|
|
|
|
|
version_info = (1, 0, 0, 'alpha', 4) |
|
|
version_info = (1, 0, 0, 'alpha', 6) |
|
|
|
@ -77,10 +77,9 @@ class CMClient(EventEmitter): |
|
|
|
|
|
|
|
|
_recv_loop = None |
|
|
_recv_loop = None |
|
|
_heartbeat_loop = None |
|
|
_heartbeat_loop = None |
|
|
_LOG = None |
|
|
_LOG = logging.getLogger("CMClient") |
|
|
|
|
|
|
|
|
def __init__(self, protocol=PROTOCOL_TCP): |
|
|
def __init__(self, protocol=PROTOCOL_TCP): |
|
|
self._LOG = logging.getLogger("CMClient") |
|
|
|
|
|
self.cm_servers = CMServerList() |
|
|
self.cm_servers = CMServerList() |
|
|
|
|
|
|
|
|
if protocol == CMClient.PROTOCOL_TCP: |
|
|
if protocol == CMClient.PROTOCOL_TCP: |
|
|