Please consider that API 2.0 is now the preferred version to be used. The old API will remain fully functional until the end of 2021.
Название | Значение | Описание |
---|---|---|
hash обязательный | строка | Определяет хэш, ранее полученный методом экспорта отчета «Лучшие участники». |
Variables | ||
project-identifier | строка | Идентификатор проекта. |
login | строка | Ваше имя пользователя в Crowdin. |
account-key | строка | API ключ вашего аккаунта. |
wget -O top_members.csv "https://api.crowdin.com/api/project/{project-identifier}/reports/top-members/download?login={username}&account-key={account-key}&hash=098f6bcd4621d373cade4e832627b4f6"
<?php
ini_set('auto_detect_line_endings', 1); // allows file support for macintosh
ini_set('default_socket_timeout', 5); // socket timeout, just in case
file_put_contents('top_members.csv', file_get_contents('https://api.crowdin.com/api/project/{project-identifier}/reports/top-members/download?login={username}&account-key={account-key}&hash=098f6bcd4621d373cade4e832627b4f6'));