Commit ea48f59d authored by Alex Ne's avatar Alex Ne

...

parent 3db07e36
......@@ -3,9 +3,7 @@ namespace X\Social\VK;
class VKAPICredentialsIsNull extends \X\ETrace\System {}
class VKAPIResponseError extends \X\ETrace\System {}
class VKAPIResponseNull extends \X\ETrace\System {}
class VKAPI {
/**
* @var \X\Social\VK\Credentials
*/
......@@ -41,7 +39,9 @@ class VKAPI {
* @param array $params
* @return array
*/
public function api($method, $params = []) {}
public function api($method, $params = []) {
return $this->query($this->api_url . "method/" . $method, array_merge($params, ["v" => "5.28"]));
}
/**
* @param $url
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment