steamwebapi/php-steam-api
Composer 安装命令:
composer require steamwebapi/php-steam-api
包简介
Steamwebapi PHP Package for CS:GO, RUST, DOTA - Inventory, Profile, SteamID API
README 文档
README
This Steamapi using www.steamwebapi.com and you need a Free API Key from there.
Functions
Inventory
Get a list of all inventory information from a SteamId without Steam Blocks.
Inventory and total price of the inventory
Get a list of all inventory information from a SteamId blocking and calculate the total price of the inventory.
Profile
Get a list of all profile information without Steam Blocks.
SteamId Converter
Get a list of all Steamids from a ID string.
How to use?
composer require steamwebapi/php-steam-api
$steamWebApi = new SteamWebApi('YOUR API KEY'); // Get Inventory $steamWebApi->getInventory('STEAMID'); // Get Inventory And Worth $steamWebApi->getInventoryWorth('STEAMID'); // Get Profile (Username or Url --- OR --- SteamId) -- choice one of them, only one is required, if you dont have username just send null $steamWebApi->getProfile('Username or Url', 'SteamId'); // Convert SteamId $steamWebApi->getSteamId('STEAMID');
You can help me to improve this package
If you want to add new functions, just create a pull request.
统计信息
- 总下载量: 133
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-04-29