Skip to content

Introduction to Usage

Oleksandr Alcantara edited this page Jan 10, 2023 · 6 revisions

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);