Introduction to Usage - Allyans3/steam-market-api-v2 GitHub Wiki

Object way

use SteamApi\SteamApi;

$api = new SteamApi();

$options = [
    'market_hash_name' => "AK-47 | Slate (Field-Tested)"
];


$api->detailed()->getItemPricing(Apps::CSGO_ID, $options);

Static way

use SteamApi\SteamApi;

$options = [
    'market_hash_name' => "AK-47 | Slate (Field-Tested)"
];


SteamApi::query()->detailed()->getItemPricing(Apps::CSGO_ID, $options);