-
Notifications
You must be signed in to change notification settings - Fork 30
Useful Methods
Allyans3 edited this page Nov 28, 2022
·
2 revisions
v4.0.0 or later is required to use this Inspect Methods.
Used to get Steam Currency List. Key is a currency id
that used in Steam methods.
SteamApi::query()->getCurrencyList();
Response:
[
0 => "USD"
1 => "USD"
2 => "GBP"
3 => "EUR"
4 => "CHF"
5 => "RUB"
6 => "PLN"
...
]
Real usage to rotate your proxy.
For example:
$proxyList = [
"46.218.155.194:3128",
"1.32.41.37:8080",
"114.5.35.98:38554",
"175.103.46.161:3888",
"203.210.84.59:80",
"113.53.60.255:8080",
];
SteamApi::query()->getNextItem($proxyList);
You'll receive:
"46.218.155.194:3128"
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.
This method return random User Agent for this browsers: Chrome
, Edge
, Firefox
, IE
, Opera
, Safari
.
SteamApi::query()->getUserAgent('Chrome');
You'll receive:
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36"
This method return User Agents List for this browsers: Chrome
, Edge
, Firefox
, IE
, Opera
, Safari
.
SteamApi::query()->getUserAgents('Chrome');
You'll receive:
[
0 => "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36",
1 => "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36",
2 => "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Safari/537.36",
3 => "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36",
4 => "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36",
...
]
Used to get image sources:
SteamApi::query()->getImageSources();
You'll receive:
[
"akamai" => "https://community.akamai.steamstatic.com/economy/image/",
"akamai_hd" => "https://steamcommunity-a.akamaihd.net/economy/image/",
"cloudflare" => "https://community.cloudflare.steamstatic.com/economy/image/"
]
Powered by Steam and CSGOFloat API. Is not affiliated with or endorsed by Valve Corporation.