Skip to content

Commit 6036874

Browse files
committed
update readme
1 parent ddb6dbc commit 6036874

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# (English) Wildberries REST API statistics client library with throttling requests
2-
## Русское описание ниже
2+
## Русское описание ниже, после английского
33

44
A simple Wildberries REST API statistics client library with throttling requests (for example, no more than 10 requests per second according to API rules) and an example for PHP.
55

66
Statistics API Documentation [Wildberries REST API statistics Documentation](https://images.wbstatic.net/portal/education/Kak_rabotat'_s_servisom_statistiki.pdf)
7+
78
New API Documentation [Wildberries REST API Documentation](https://suppliers-api.wildberries.ru/swagger/index.html)
89

910
### Installing
@@ -41,7 +42,7 @@ try {
4142
// $WbApiClient->debugLevel = WbApiClient::DEBUG_NONE;
4243
// only URL level debug
4344
// $WbApiClient->debugLevel = WbApiClient::DEBUG_URL;
44-
// only HEADERS level debug
45+
// only URL and HEADERS level debug
4546
// $WbApiClient->debugLevel = WbApiClient::DEBUG_HEADERS;
4647
// max level of debug messages to STDOUT
4748
// $WbApiClient->debugLevel = WbApiClient::DEBUG_CONTENT;
@@ -73,7 +74,8 @@ if ( isset( $reportDetailByPeriod->is_error ) ) {
7374
var_dump( $reportDetailByPeriod );
7475
}
7576

76-
// You can set a common date (dateFrom) via the setDateFrom() function and then access other functions without passing the date
77+
// You can set a common date (dateFrom) via the setDateFrom() function and then access other functions
78+
// without passing the date
7779
$WbApiClient->setDateFrom( $dateFrom );
7880
$sales = $WbApiClient->sales();
7981
$incomes = $WbApiClient->incomes();
@@ -84,7 +86,8 @@ $incomes = $WbApiClient->incomes();
8486

8587
Простая клиентская REST API библиотека статистики Wildberries с регулированием запросов (например, не более 10 запросов в секунду в соответствии с правилами API) и примером для PHP.
8688

87-
Описание API [Wildberries REST API statistics](https://images.wbstatic.net/portal/education/Kak_rabotat'_s_servisom_statistiki.pdf)
89+
Описание API статистики [Wildberries REST API statistics](https://images.wbstatic.net/portal/education/Kak_rabotat'_s_servisom_statistiki.pdf)
90+
8891
Описание нового API [Wildberries REST API](https://suppliers-api.wildberries.ru/swagger/index.html)
8992

9093
### Установка
@@ -154,7 +157,8 @@ if ( isset( $reportDetailByPeriod->is_error ) ) {
154157
var_dump( $reportDetailByPeriod );
155158
}
156159

157-
// Можно задать общую дату (dateFrom) через функцию setDateFrom() и затем обращаться к другим функциям, не передавая дату
160+
// Можно задать общую дату (dateFrom) через функцию setDateFrom() и затем обращаться к другим функциям,
161+
// не передавая дату
158162
$WbApiClient->setDateFrom( $dateFrom );
159163
$sales = $WbApiClient->sales();
160164
$incomes = $WbApiClient->incomes();

0 commit comments

Comments
 (0)