Skip to content

Commit

Permalink
Merge pull request #43 from kosmotive/dev/migrate-to-websocket-steam-api
Browse files Browse the repository at this point in the history
[no-changelog] Migrate to https://github.com/njbooher/steam.git
  • Loading branch information
kostrykin authored Oct 12, 2024
2 parents 7a4133d + 6ec45ed commit 62a801d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions django/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
from csgo.client import CSGOClient
from csgo.sharecode import decode as decode_sharecode
from steam.client import SteamClient
from steam.core.connection import WebsocketConnection
from steam.steamid import SteamID

from django.conf import settings
Expand Down Expand Up @@ -247,6 +248,7 @@ def __init__(self):
self.steam_started = False

self.steam = SteamClient()
self.steam.connection = WebsocketConnection()
self.csgo = CSGOClient(self.steam)

self.steam.on('error', self._error)
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,14 @@ requests==2.28.1
scipy==1.14.0
six==1.16.0
sqlparse==0.5.1
steam==1.4.4
steam @ git+https://github.com/njbooher/steam.git@e5b73f9
tqdm==4.66.4
typing_extensions==4.12.2
tzdata==2024.1
urllib3==1.26.12
usd-core==24.8
vdf==3.4
wsproto==1.2.0
yarl==1.9.4
zipp==3.19.2
zope.event==5.0
Expand Down

0 comments on commit 62a801d

Please sign in to comment.