steamcom 1.2.40__tar.gz → 1.2.41__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {steamcom-1.2.40 → steamcom-1.2.41}/PKG-INFO +1 -1
- {steamcom-1.2.40 → steamcom-1.2.41}/pyproject.toml +1 -1
- {steamcom-1.2.40 → steamcom-1.2.41}/steamcom/client.py +10 -14
- {steamcom-1.2.40 → steamcom-1.2.41}/.github/workflows/pypi_publish.yml +0 -0
- {steamcom-1.2.40 → steamcom-1.2.41}/.gitignore +0 -0
- {steamcom-1.2.40 → steamcom-1.2.41}/LICENSE +0 -0
- {steamcom-1.2.40 → steamcom-1.2.41}/README.md +0 -0
- {steamcom-1.2.40 → steamcom-1.2.41}/examples/CancelAllListings.py +0 -0
- {steamcom-1.2.40 → steamcom-1.2.41}/examples/InventorySender.py +0 -0
- {steamcom-1.2.40 → steamcom-1.2.41}/examples/ItemsSeller.py +0 -0
- {steamcom-1.2.40 → steamcom-1.2.41}/requirements.txt +0 -0
- {steamcom-1.2.40 → steamcom-1.2.41}/steamcom/confirmations.py +0 -0
- {steamcom-1.2.40 → steamcom-1.2.41}/steamcom/exceptions.py +0 -0
- {steamcom-1.2.40 → steamcom-1.2.41}/steamcom/fee_counter.py +0 -0
- {steamcom-1.2.40 → steamcom-1.2.41}/steamcom/guard.py +0 -0
- {steamcom-1.2.40 → steamcom-1.2.41}/steamcom/login.py +0 -0
- {steamcom-1.2.40 → steamcom-1.2.41}/steamcom/market.py +0 -0
- {steamcom-1.2.40 → steamcom-1.2.41}/steamcom/models.py +0 -0
- {steamcom-1.2.40 → steamcom-1.2.41}/steamcom/utils.py +0 -0
- {steamcom-1.2.40 → steamcom-1.2.41}/tests/test_fee_counter.py +0 -0
|
@@ -9,7 +9,7 @@ packages = ["/steamcom"]
|
|
|
9
9
|
name = "steamcom"
|
|
10
10
|
description = "Python implementation of the Steam Community API"
|
|
11
11
|
# The version uploaded to pypi has been changed by action "pypi_publish.yml"
|
|
12
|
-
version = "1.2.
|
|
12
|
+
version = "1.2.41"
|
|
13
13
|
authors = [
|
|
14
14
|
{ name="Linar Sharifullin"},
|
|
15
15
|
]
|
|
@@ -9,7 +9,7 @@ import requests
|
|
|
9
9
|
|
|
10
10
|
from steamcom.login import LoginExecutor
|
|
11
11
|
from steamcom.confirmations import ConfirmationExecutor
|
|
12
|
-
from steamcom.utils import (login_required,
|
|
12
|
+
from steamcom.utils import (login_required, api_request,
|
|
13
13
|
merge_items_with_descriptions_from_inventory,
|
|
14
14
|
get_key_value_from_url, account_id_to_steam_id,
|
|
15
15
|
create_offer_dict)
|
|
@@ -30,20 +30,16 @@ class SteamClient:
|
|
|
30
30
|
self.identity_secret = identity_secret
|
|
31
31
|
self.session = session
|
|
32
32
|
self.session.headers.update({
|
|
33
|
-
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8
|
|
34
|
-
"Accept-Encoding": "gzip, deflate, br, zstd",
|
|
33
|
+
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8",
|
|
35
34
|
"Accept-Language": "en-US,en;q=0.9",
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"Sec-Fetch-User": "?1",
|
|
45
|
-
"Upgrade-Insecure-Requests": "1",
|
|
46
|
-
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
|
|
35
|
+
"sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
|
|
36
|
+
"sec-ch-ua-mobile": "?1",
|
|
37
|
+
"sec-ch-ua-platform": "\"Android\"",
|
|
38
|
+
"sec-fetch-dest": "document",
|
|
39
|
+
"sec-fetch-mode": "navigate",
|
|
40
|
+
"sec-fetch-site": "same-origin",
|
|
41
|
+
"sec-fetch-user": "?1",
|
|
42
|
+
"upgrade-insecure-requests": "1"
|
|
47
43
|
})
|
|
48
44
|
self.steam_id = '' # will be added after login
|
|
49
45
|
self.refresh_token = ''
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|