protected $method_url = "https://api.vk.com/method/";
public function getMethod($method, $options = [], $decode = true){
$query = "?".http_build_query($options);
$url = $this->method_url.$method.urldecode($query);
$data = file_get_contents($url);
$decoded = json_decode($data);
return ($decode ? $decoded : $data);
}