Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс Api

Открытые члены

 __construct ($accessToken, $exportId)
 
 run ($method, $params=array())
 

Открытые атрибуты

const TOO_MANY_REQUESTS_ERROR_CODE = 6
 

Статические открытые данные

static $apiUrl = 'https://api.vk.com/method/'
 
static $apiVersion = "5.131"
 

Подробное описание

См. определение в файле api.php строка 19

Конструктор(ы)

◆ __construct()

__construct ( $accessToken,
$exportId )

Api constructor.

Аргументы
$accessToken- string of accesstoken from VK
$exportId- int
Исключения
ArgumentNullException

См. определение в файле api.php строка 35

Методы

◆ run()

run ( $method,
$params = array() )

Send a request to single VK API method with params.

Аргументы
string$method- Name of VK-API method (see VK manual).
array$params
Возвращает
mixed|null

См. определение в файле api.php строка 57

Данные класса

◆ $apiUrl

$apiUrl = 'https://api.vk.com/method/'
static

См. определение в файле api.php строка 22

◆ $apiVersion

$apiVersion = "5.131"
static

См. определение в файле api.php строка 23

◆ TOO_MANY_REQUESTS_ERROR_CODE

const TOO_MANY_REQUESTS_ERROR_CODE = 6

См. определение в файле api.php строка 27