
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
steamcommunity-inventory
Advanced tools
A rate limit and response handler for steamcommunity inventories. - It's functional. - Will appreciate all feedback I can get
A rate limit and response handler for steamcommunity inventories.
Currently only via NPM: npm install steamcommunity-inventory
Param | Type | Descriptions |
---|---|---|
steamID | string | Steam account identificator |
appID | string | Application identificator, eg: https://store.steampowered.com/app/440/Team_Fortress_2/ |
contextID | string | Inventory context identificator, eg: https://steamcommunity.com/id/theglencoco/inventory/#440_2_8331418960 440 is AppID, 2 is contextID, last one is assetID |
Handles inventory requests to SteamCommunity.
Kind: global class
Param | Type | Description |
---|---|---|
options.steamID | string | When passed with cookies, you don't have to rely on rate limit, steam lets you request your inventory freely |
options.method | 'new' | 'old' | method we use for inventory |
options.formatter | function | modifies econItem before being passed into then |
[options.headers] | Object | HTTP headers |
For Rate limiting see: | https://github.com/SGrondin/bottleneck#constructor | |
options.minTime | number | |
options.maxConcurent | number | |
options.reservoir | number | |
options.reservoirRefreshAmount | number | |
options.reservoirRefreshInverval | number |
Sets cookies to instance NOTE: Current version only accepts cookies in for like
Kind: instance method of Inventory
See: https://github.com/DoctorMcKay/node-steam-user#websession
Param | Type |
---|---|
cookies | Array.<string> |
Promise.<Array.<EconItem>>
A shorthand function used for requesting and limiting.
Kind: instance method of Inventory
See: Inventory.prototype.getViaNewEndpoint
Param | Type | Description |
---|---|---|
options | Object | See old or new |
Please note that you should only use inventory.get
for inventory.
These methods are not usable on their own.
Gets inventory from old deprecated endpoint that has more data but is more limited.
Kind: instance method of Inventory
Param | Type | Default | Description |
---|---|---|---|
steamID | string | ||
appID | string | ||
contextID | string | ||
count | number | How many items you want, Every request gets roughly 2000 items, so count should be multiple of 2000, can also be: Infinity gets all recursively, void gets only the first 500 | |
[start] | number | From which item do we start. | |
[tradableOnly] | boolean | true | |
[inventory] | Array.<Object> | [] | Only if you wanna append more items to it. Used for recursion. |
Gets inventory from new endpoint that has better rate limit but less data.
Kind: instance method of Inventory
Param | Type | Default |
---|---|---|
steamID | string | |
appID | string | |
contextID | string | |
[language] | string | "english" |
[start] | string | assetID you want to start from. |
[count] | number | If set gets the exact amount of items, if Infinity gets all recursively, if void gets only the first 500 |
[inventory] | Array.<Object> | [] |
FAQs
A rate limit and response handler for steamcommunity inventories. - It's functional. - Will appreciate all feedback I can get
The npm package steamcommunity-inventory receives a total of 35 weekly downloads. As such, steamcommunity-inventory popularity was classified as not popular.
We found that steamcommunity-inventory demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.