Bitte beachten Sie, dass API 2.0 jetzt die bevorzugte Version ist. Die alte API bleibt bis Ende 2021 voll funktionsfähig.
Alle Übersetzungen zu einem ZIP-Archiv zusammenfassen.
This method can be invoked once per 30 minutes if case you are not using one of the organization plans. You can check if ZIP archive with the latest translations was built by status attribute ("built" or "skipped") returned in the response.
Name | Wert | Beschreibung |
---|---|---|
branch optional | String | Der Name des dazugehörigen Versionszweiges (Versionsverwaltung). |
async optional | Boolean | Defines whether the call will be executed asynchronously – 1 or not – 0. Der Standardwert ist 0. This means that this API method can be invoked and get an immediate response that the request was accepted. |
json optional | String | Könnte keinen Wert enthalten. Definiert, dass die Antwort im JSON-Format sein soll. |
jsonp optional | String | Name der Rückruffunktion. Definiert, dass die Antwort im JSONP-Format sein soll. |
Variablen | ||
project-identifier | String | Projekt-ID. |
login | String | Ihr Nutzername auf Crowdin. |
account-key | String | Ihr Konto-API-Schlüssel. |
<?xml version="1.0" encoding="UTF-8"?>
<success status="built">
</success>
<?xml version="1.0" encoding="UTF-8"?>
<success status="skipped">
</success>
<?xml version="1.0" encoding="UTF-8"?>
<error>
<code>3</code>
<message>API key is not valid</message>
</error>
curl \
https://api.crowdin.com/api/project/{project-identifier}/export?login={username}&account-key={account-key}
<?php
$request_url = 'https://api.crowdin.com/api/project/{project-identifier}/export?login={username}&account-key={account-key}';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $request_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($ch);
curl_close($ch);
echo $result;