A simple Python library to get information about Steam apps using their webpage
To install the library, run the following command:
pip install steam-web-tools
Once installed, use the following command to import it into your script:
from steamwebtools import *
Here are all the commands included in the library:
Note: If you encounter an error with this library, you may need to convert the returned value into a string.
Example:
vac = isvacenabled(440) # Using App ID 440 (Team Fortress 2) as an example
vac = str(vac)
print(vac)
isvacenabled(app_id)
vac = isvacenabled(440) # Using App ID 440 (Team Fortress 2) as an example
print(vac)
Response:
Yes
hasinapppurchases(app_id)
purchases = hasinapppurchases(440) # Using App ID 440 (Team Fortress 2) as an example
print(purchases)
Response:
Yes
hasleveleditor(app_id)
leveleditor = hasleveleditor(440) # Using App ID 440 (Team Fortress 2) as an example
print(leveleditor)
Response:
Yes
hassteamworkshop(app_id)
workshop = hassteamworkshop(440) # Using App ID 440 (Team Fortress 2) as an example
print(workshop)
Response:
Yes
hassourcesdk(app_id)
sdk = hassourcesdk(440) # Using App ID 440 (Team Fortress 2) as an example
print(sdk)
Response:
No
hasachievements(app_id)
achievements = hasachievements(440) # Using App ID 440 (Team Fortress 2) as an example
print(achievements)
Response:
Yes
usessteamcloud(app_id)
steamcloud = usessteamcloud(440) # Using App ID 440 (Team Fortress 2) as an example
print(steamcloud)
Response:
No
supportsfamilysharing(app_id)
familysharing = supportsfamilysharing(440) # Using App ID 440 (Team Fortress 2) as an example
print(familysharing)
Response:
No
hassingleplayer(app_id)
singleplayer = hassingleplayer(440) # Using App ID 440 (Team Fortress 2) as an example
print(singleplayer)
Response:
No
hasonlinecoop(app_id)
coop = hasonlinecoop(440) # Using App ID 440 (Team Fortress 2) as an example
print(coop)
Response:
No
hastradingcards(app_id)
tradingcards = hastradingcards(440) # Using App ID 440 (Team Fortress 2) as an example
print(tradingcards)
Response:
Yes
hassplitscreenpvp(app_id)
splitscreenpvp = hassplitscreenpvp(440) # Using App ID 440 (Team Fortress 2) as an example
print(splitscreenpvp)
Response:
No
haslanpvp(app_id)
lanpvp = haslanpvp(440) # Using App ID 440 (Team Fortress 2) as an example
print(lanpvp)
Response:
No
hasstats(app_id)
stats = hasstats(440) # Using App ID 440 (Team Fortress 2) as an example
print(stats)
Response:
Yes
hasdlc(app_id)
dlc = hasdlc(440) # Using App ID 440 (Team Fortress 2) as an example
print(dlc)
Response:
No
hascommentary(app_id)
commentary = hascommentary(440) # Using App ID 440 (Team Fortress 2) as an example
print(commentary)
Response:
Yes
hasstats(app_id)
crossplatformmultiplayer = hascrossplatformmultiplayer(440) # Using App ID 440 (Team Fortress 2) as an example
print(crossplatformmultiplayer)
Response:
Yes
hasadditionalhighqualityaudio(app_id)
additionalhighqualityaudio = hasadditionalhighqualityaudio(440) # Using App ID 440 (Team Fortress 2) as an example
print(additionalhighqualityaudio)
Response:
No
supportssteaminputapi(app_id)
steaminputapi = supportssteaminputapi(440) # Using App ID 440 (Team Fortress 2) as an example
print(steaminputapi)
Response:
No
supportsremoteplayontv(app_id)
remoteplayontv = supportsremoteplayontv(440) # Using App ID 440 (Team Fortress 2) as an example
print(remoteplayontv)
Response:
No