Interface: SteamAPIOptions
January 23, 2026 ยท View on GitHub
steamapi / SteamAPIOptions
Interface: SteamAPIOptions
Defined in: SteamAPI.ts:32
Properties
baseActions?
optionalbaseActions:string
Defined in: SteamAPI.ts:73
URL to use for Steam action requests (only used for getLocations)
'https://steamcommunity.com/actions' by default
baseAPI?
optionalbaseAPI:string
Defined in: SteamAPI.ts:59
URL to use for Steam API requests
'https://api.steampowered.com' by default
baseStore?
optionalbaseStore:string
Defined in: SteamAPI.ts:66
URL to use for Steam Store API requests
'https://store.steampowered.com/api' by default
currency?
optionalcurrency:Currency
Defined in: SteamAPI.ts:45
Default currency to use for the API when a currency is not explicitly provided
'us' by default
gameDetailCacheEnabled?
optionalgameDetailCacheEnabled:boolean
Defined in: SteamAPI.ts:83
If inMemoryCacheEnabled is true, this decides whether to cache API requests for getGameDetails()
gameDetailCacheTTL?
optionalgameDetailCacheTTL:number
Defined in: SteamAPI.ts:88
How long to cache getGameDetails() in milliseconds
headers?
optionalheaders:object
Defined in: SteamAPI.ts:52
Custom headers to send for all API requests
By default, User-Agent is "SteamAPI/
Index Signature
[key: string]: string
inMemoryCacheEnabled?
optionalinMemoryCacheEnabled:boolean
Defined in: SteamAPI.ts:78
Whether to use built-in in-memory caching for gameDetailCache and userResolveCache
language?
optionallanguage:Language
Defined in: SteamAPI.ts:38
Default language to use for the API when a language is not explicitly provided
'english' by default
userResolveCacheEnabled?
optionaluserResolveCacheEnabled:boolean
Defined in: SteamAPI.ts:93
If inMemoryCacheEnabled is true, this decides whether to cache API requests for resolve()
userResolveCacheTTL?
optionaluserResolveCacheTTL:number
Defined in: SteamAPI.ts:98
How long to cache resolve() in milliseconds