Skip to content

GetUser

Pavel Kuzmin edited this page Aug 4, 2022 · 12 revisions

[<< go back]

Methods

$data = (new OnlineSimApi(getenv('APIKEY')))->init()->user()->{method}();

Example

$request = new OnlineSimApi('apikey', 'locale', 'dev_id');
$request->init();
var_dump($request->user()->balance()->toArray());

balance [docs ru] [docs en]

Get user balance and income


profile

Get User profile

Clone this wiki locally