File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 11
11
import socketpool
12
12
import adafruit_requests
13
13
14
+ # Steam API Docs: https://steamcommunity.com/dev
15
+ # Steam API Key: https://steamcommunity.com/dev/apikey
16
+ # Steam Usernumber: Visit https://steamcommunity.com, click on your profile icon, your usernumber will be in the browser url.
17
+
14
18
# Ensure these are setup in settings.toml
15
19
# Requires Steam Developer API key
16
20
ssid = os .getenv ("AP_SSID" )
26
30
sleep_time = 900
27
31
28
32
# Deconstruct URL
29
- # http://api.steampowered.com/IPlayerService/GetOwnedGames/v0001/?key=XXXXXXXXXXXXXXXXXXXXX&steamid=XXXXXXXXXXXXXXXX&format=json
33
+ # http://api.steampowered.com/IPlayerService/GetOwnedGames/v0001/?key=XXXXXXXXXXXXXXXXXXXXX&include_played_free_games=1& steamid=XXXXXXXXXXXXXXXX&format=json
30
34
Steam_OwnedGames_URL = (
31
35
"http://api.steampowered.com/IPlayerService/GetOwnedGames/v0001/?"
32
36
+ "key="
33
37
+ steam_apikey
38
+ + "&include_played_free_games=1"
34
39
+ "&steamid="
35
40
+ steam_usernumber
36
41
+ "&format=json"
You can’t perform that action at this time.
0 commit comments