Steam
Steam copied to clipboard
Move to more traditional Client implementation.
The usage of the old Steam
alias and SteamApi
facade is a bit weird and confusing to use.
Better to explicitly init the client you want to use, e.g.
use Syntax\SteamApi\Steam\App;
$client = new App();
$appList = $client->getAppList();
Or perhaps create a new static class to combine them, e.g.
use use Syntax\SteamApi\Steam;
$appList = Steam::app()->getAppList();
On the surface, this is how the current usage appears to work, but there is some Laravel trickery going on the make it work like that, rather than being a simple class with static methods.