public pagedRequest ( string $path, array $options = [] ) : array | ||
$path | string | API path (URL) |
$options | array | Options for the request [string] method GET is default [mixed] data Native PHP data structure (e.g. int, string array, or simple object) to be sent along with the request. Will be encoded as JSON for you. |
return | array |