I'm not really sure how to describe this but here I go. I am currently building a League of Legends website and I'm using SoloMidNets framework for the API. The github can be found here: <https://github.com/solomidnet/php-pvp-api>

Here's my code:

```
            <?php          

            $summoner = $api->summoner_by_name('na', $_SESSION['input_name']);

            //This is grabbing the JSON information array from the API
            $summoner1 = $api->league('na', $summoner->id);

            var_dump($summoner1);

            echo '<ul>'.'Summoner Name: '.$_SESSION['input_name'].'</ul>';
            echo '<ul>'.'Rank: './*CODE TO GRAB RANK FROM JSON?*/'</ul>';
            echo '<ul>'.'Tier:'./*CODE TO GRAB TIER FROM JSON?*/'</ul>';
            echo '<ul>'.'League Points: './*CODE TO GRAB LEAGUE POINTS FROM JSON?*/'</ul>';
            echo '<ul>'.'Wins: './*CODE TO GRAB WINS FROM JSON?*/'</ul>';
            echo '<ul>'.'Losses: './*CODE TO GRAB LOSSES FROM JSON?*/'</ul>';

            session_destroy();

        ?>

```

The format when I var\_dump(); it look's like this: <http://pastebin.com/WGKwmSAz>

Quick summary of what I need help with
--------------------------------------

I would like to know how to call certain elements of my var - `$summoner1`. 

Also how would I go about only selecting the part where  

`$summoner1->playerName = PLAYERIMSEARCHINGFORDATAONLY;`

ANY HELP WOULD BE APPRECIATED!  

Thanks so much for reading :)