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 costs_estimation.csv "https://api.crowdin.com/api/project/{project-identifier}/reports/costs-estimation/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('costs_estimation.csv', file_get_contents('https://api.crowdin.com/api/project/{project-identifier}/reports/costs-estimation/download?login={username}&account-key={account-key}&hash=098f6bcd4621d373cade4e832627b4f6'));