Top-Mitglieder-Bericht exportieren

Generate Top Members report to know who contributed the most to your project's translation during the specified date range.


Note: Use the combination of project identifier, username, and account key to pass to this endpoint.



Name Wert Beschreibung
unit optional String Defines the report unit. Acceptable values are: 'strings', 'words' (by default), 'chars', 'chars_with_spaces'.
language optional String The language for which the report should be generated. For this use Сrowdin language codes.
date_from optional date Strings added from. Use the following ISO 8601 format: YYYY-MM-DD ±hh:mm
date_to optional date Strings added to. Use the following ISO 8601 format: YYYY-MM-DD ±hh:mm
format optional String Defines the export file format. Acceptable values are 'csv' and 'xlsx' (by default).
json optional String Könnten keinen Wert enthalten. Defines that response should be in JSON format.
jsonp optional String Name der Rückruf Funktion. Defines that response should be in JSONP format.
project-identifier String Projekt-ID.
login String Ihr Nutzername auf Crowdin.
account-key String Ihr Konto API-Schlüssel.


If the method is successful it responds with an XML structure, as it is shown below.
<?xml version="1.0" encoding="UTF-8"?>
Unsuccessful response sample:
<?xml version="1.0" encoding="UTF-8"?>
  <message>API key is not valid</message>


curl \{project-identifier}/reports/top-members/export?login={username}&account-key={account-key}
curl \
  -F "unit=chars" \
  -F "format=csv" \
  -F "language=uk" \{project-identifier}/reports/top-members/export?login={username}&account-key={account-key}
$request_url = '{project-identifier}/reports/top-members/export?mode=words&login={username}&account-key={account-key}&language=uk';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $request_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

$result = curl_exec($ch);

echo $result;

War dieser Artikel hilfreich?