This library has collected all the necessary values of filters, currencies, countries, categories, and so on from the Steam service. If you are developing under steam, this library will come in handy.
- Who works with api steam
- Who is parsing the site
- Who parses the marketplace
- And in other cases of working with the steam platform
composer require steam-market-providers/enums
- Steam App
- Steam Currency
- Steam Language
- Steam Global tag
- Steam Platform
- Steam Countries
- Steam Players
- Steam Visuals
- Steam Themes moods
- Steam Genre
- Steam Sub genre
- Steam Top level genre
Get app id
echo \KrepyshSpec\SteamEnums\SteamApp::CSGO->name; // CSGO
echo \KrepyshSpec\SteamEnums\SteamApp::CSGO->value; // 730
Get all from SteamApp
$all = \KrepyshSpec\SteamEnums\SteamApp::cases();
var_dump($all);
/**
array(2) {
[0]=>
enum(KrepyshSpec\SteamEnums\SteamApp::CSGO)
[1]=>
enum(KrepyshSpec\SteamEnums\SteamApp::Dota2)
}
**/
Total app games 2
echo SteamApp::Dota2->name // USD
echo SteamApp::Dota2->value; // 570
Total currencies 32
echo SteamCurrency::USD->name; // USD
echo SteamCurrency::USD->value; // 1
Total languages 28
echo SteamLanguage::English->name; // English
echo SteamLanguage::English->value; // english
Total tags 431
Using here Steam browse tag
echo SteamGlobalTag::Survival->name; // Survival
echo SteamGlobalTag::Survival->value; // 1662
Total platforms 3
echo SteamPlatform::MacOS->name; // MacOS
echo SteamPlatform::MacOS->value; // mac
Total countries 259
echo SteamCountry::United_States->name; // United_States
echo SteamCountry::United_States->value; // US
For support, email evgeniymykhalichenko@gmail.com or telegram @krep1sh
MIT