psn-php
psn-php copied to clipboard
How Can I Show Every AccountId Searched?
Hello, I'm trying to use this API again, and thanks in advance for this work.
I want to use AccountID of every user instead of "onlineId", and the problem is that when I try to access the object values, I can't go directly to every user Account ID that matched the criteria, how can I show or save every data?
For example:
$users = $client->users()->search('tustin25');
foreach($users as $user) { // How can I get every user AccountID? }
Thanks for your help.