Invisnik\LaravelSteamAuth\SteamAuth::parseInfo PHP Method

parseInfo() public method

Get user data from steam api
public parseInfo ( ) : void
return void
    public function parseInfo()
    {
        if (is_null($this->steamId)) {
            return;
        }
        $reponse = $this->guzzleClient->request('GET', sprintf(self::STEAM_INFO_URL, Config::get('steam-auth.api_key'), $this->steamId));
        $json = json_decode($reponse->getBody(), true);
        $this->steamInfo = new SteamInfo($json["response"]["players"][0]);
    }