Bitte beachten Sie, dass API 2.0 jetzt die bevorzugte Version ist. Die alte API bleibt bis Ende 2021 voll funktionsfähig.
Name | Wert | Beschreibung |
---|---|---|
hash benötigt | String | Defines hash previously received from the export of Costs Estimation report method. |
Variablen | ||
project-identifier | String | Projekt-ID. |
login | String | Ihr Nutzername auf Crowdin. |
account-key | String | Ihr Konto-API-Schlüssel. |
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'));