get-csgo-inventory

Query a user's CSGO inventory in JavaScript

Usage no npm install needed!

<script type="module">
  import getCsgoInventory from 'https://cdn.skypack.dev/get-csgo-inventory';
</script>

README

getCsgoInventory()

A simple & small JS module to query a Steam user's CSGO inventory.

Installation

Add the dependency:

# when using yarn
yarn add get-csgo-inventory

# when using npm
npm i get-csgo-inventory

API

The API of this module is simple.
There's only one function which you can call:

import { getCsgoInventory } from 'get-csgo-inventory'


const inventoryResponse = await getCsgoInventory("SOME_STEAM_ID")

Response Model

TODO Add docs for response model

License

TODO Add license information