new steam(settings)
Creates a new Steam Web instance
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
settings |
object |
Properties
|
Methods
getAppList(obj)
Gets a list of apps and their appid
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
getAssetClassInfo(obj)
Gets class info for a specific game asset
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
getAssetPrices(obj)
Gets the prices for items in a game
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
getBadges(obj)
Gets a user's badges
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
getCommunityBadgeProgress(obj)
Gets a user's progress towards a specific badge
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
getFriendList(obj)
Gets a user's friend list
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
getGlobalAchievementPercentagesForApp(obj)
Gets the global achievement percentages for a specific app
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
getGlobalStatsForGame(obj)
Gets the global stats for a specific game
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
getNewsForApp(obj)
Gets the news for a specific app
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
getNumberOfCurrentPlayers(obj)
Gets the number of current players for a specific game
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
getOwnedGames(obj)
Gets a user's owned games list
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
getPlayerAchievements(obj)
Gets a user's achievements for a specific game
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
getPlayerBans(obj)
Gets a list of bans for a specific user
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
getPlayerItems(obj)
Gets a player's items for a specific game
This will work with TF2 and some other games but it no longer works with Counterstrike, valve has disabled the API See https://www.reddit.com/r/SteamBot/comments/5ztiv6/psa_api_method_shutdown_ieconitems/
This will work with TF2 and some other games but it no longer works with Counterstrike, valve has disabled the API See https://www.reddit.com/r/SteamBot/comments/5ztiv6/psa_api_method_shutdown_ieconitems/
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
getPlayerSummaries(obj)
Gets the player summaries for a list of users
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
getRecentlyPlayedGames(obj)
Gets a user's recently played games
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
getSchema(obj)
Gets the item schema for a specific game
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
getSchemaForGame(obj)
Gets a game's statistics schema
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
getSchemaURL(obj)
Gets the schema URL for a specific game
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
getServerInfo(obj)
Gets info on a specific server
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
getServersAtAddress(obj)
Gets a list of servers at a specific address
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
getSteamLevel(obj)
Gets a user's Steam level
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
getStoreMetadata(obj)
Gets the store metadata for a specific game
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
getStoreStatus(obj)
Gets the store status for a specific game (only TF2 currently supported)
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
getSupportedAPIList(obj)
Gets a list of supported API endpoints
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
getUserGroupList(obj)
Gets a user's group memberships
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
getUserStatsForGame(obj)
Gets a user's stats for a specific game
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
isPlayingSharedGame(obj)
Check if a user is playing a shared game
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
resolveVanityURL(obj)
Resolves a specific vanity URL (seems to no longer work)
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
upToDateCheck(obj)
Check if a specific version is the latest version of that game
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |