You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
12 months ago | |
---|---|---|
.. | ||
source/b3rs3rk/steamfront | 12 months ago | |
tests | 12 months ago | |
LICENSE | 12 months ago | |
README.md | 12 months ago | |
composer.json | 12 months ago |
README.md
Steamfront - PHP Wrapper for Accessing the Steam Storefront API
This is a simple wrapper for accessing the very lightweight API that Steam offers for its Big Picture Mode. It provides detailed application information, without being constrained to a particular Steam user's library like their Web API.
This makes it especially useful for referencing large amount of information in which you have the Steam App ID readily available.
You can either use the Includes.php file and do a manual clone, or you can do a composer based install and use autoloading namespaces.
Once you've got it running (autoload used below), simply invoke the client and perform a sample query:
<?php
use b3rs3rk\steamfront\Main;
$client = new b3rs3rk\steamfront\Main(
[
'country_code' => 'us',
'local_lang' => 'english'
]
);
$data = $client->getFeaturedApps();
print_r($data);
exit;
API framework was footprinted from here.
Http::get function was a slight rip off of @Moinax's function.
Enjoy - b3rs3rk