Calling resources
You can access the API using GET or POST requests over HTTPS.
GET https://partner.yandex.ru/api/<resource>.<format>?lang=<response_language>¶meters=<other_request_parameters>
Authorization:<token>
Acceptable headers:
|
Name |
Description |
|
|
Resource format. Acceptable values:
|
|
|
Data for authorization. |
Parameters:
|
Parameter |
Description |
|
|
The resource whose contents are being requested. |
|
|
How to provide the response:
The response format can be set in the HTTP Note By default, the result is output in XML. |
|
|
Language for responses. Acceptable values:
|
|
|
Other request parameters, which are listed in the resource descriptions. |
POST https://partner.yandex.ru/api/<resource>.<format>
Authorization:<token>
Body of the POST request:
lang=<response_language>¶meters=<other_request_parameters>
Acceptable headers:
|
Name |
Description |
|
|
Resource format. Acceptable values:
|
|
|
Data for authorization. |
Parameters:
|
Parameter |
Description |
|
|
The resource whose contents are being requested. |
|
|
How to provide the response:
The response format can be set in the HTTP Note By default, the result is output in XML. |
|
|
Language for responses. Acceptable values:
|
|
|
Other request parameters, which are listed in the resource descriptions. |