Download the PHP package digitaltim-de/steam-market-api-v2 without Composer
On this page you can find all versions of the php package digitaltim-de/steam-market-api-v2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package steam-market-api-v2
Steam Market API V2
Source: https://github.com/JaxWilko/steam-market-api
Menu
- Installation
- With composer
- Note
- Creating new object
- Usage
- Steam methods
- Market Listings
- Item Sale History
- Item Pricing
- Search Items
- Item Listings
- Newly Listed
- Item Orders Histogram
- Item Name ID
- User Inventory
- User Inventory V2
- Inspect methods
- Inspect Item
- Inspect Item V2
- Technical methods
- Currency List
- Exterior List
- User Agents List
- Next IP
- Proxy
- Detailed response
Installation
With composer
Run this text in a console to install this package:
This package currently offers 10 API calls you can make to Steam, 2 APIs to for inspecting items and 5 technical methods.
Note
All methods don't have delays. If you are using some method in a cycle, please use this in-built php function to prevent steam block for a few minutes:
Recommended 12 (5 req/min) and more seconds.
Creating new object
Usage
Steam methods
Market Listings
This will return a list of 100 items, you'll need to change the start
option to cycle through the complete list of item.
You'll get 3 technical fields and array of items:
Item Sale History
This will return the lifetime sales history for an item by timestamp. Price in USD. Timestamp GMT+0.
Item Pricing
This will return the lowest and median price for an item.
Search Items
You'll get 3 technical fields and array of items:
❗❗❗ In release v3.2
added an optional filters
key and more items in response arrays:
Response:
Item Listings
You'll get 3 technical fields and array of items:
Newly Listed
This method show only CS:GO items.
You'll get this response:
Item Orders Histogram
❗❗❗ In release v3.1
changed values to float for highest_buy_order
and lowest_sell_order
.
You'll get this response:
Item Name ID
This method needs in order to get the item_nameid
for the method above (Item Orders Histogram).
You'll get the item_nameid
number:
User Inventory
This method return user inventory by SteamID64.
You'll receive inventory items:
User Inventory V2
This method return FULL user inventory by SteamID64.
You'll receive inventory items:
Inspect methods
Inspect Item
Source API: https://github.com/csgofloat/CSGOFloat-Inspect
You'll get this response:
Inspect Item V2
You'll get this response:
Technical methods
Currency List
You'll receive currency list:
Exterior List
You'll receive exterior list:
User Agents List
This method return User Agents List for this browsers: Chrome, Edge, Firefox, IE, Opera, Safari
You'll receive user agents list:
Next Ip
If you are using for the first time you will get the first item. If you have reached the last item then the first item will be returned to you.
You'll receive next ip:
Proxy
In release v2.2
added a third optional $proxy
parameter where you can pass cURL parameters as in the example:
Detailed response
In release v2.9
added an optional detailed
key for $options
parameter.
You'll receive detailed information about response:
All versions of steam-market-api-v2 with dependencies
ext-curl Version *
ext-bcmath Version *
ext-zlib Version *
psy/psysh Version ^0.10.5
imangazaliev/didom Version ^1.16
php-curl-class/php-curl-class Version ^8.9.0
ext-intl Version *
nesbot/carbon Version ^2.46