Name | Wert | Beschreibung |
---|---|---|
include_assigned optional | Bool. | Defines whether the assigned glossaries should be included in downloaded TBX file. Acceptable values are: 0, 1. Default is 1. |
Variablen | ||
project-identifier | String | Projekt-ID. |
project-key | String | Projekt-API-Schlüssel. Entweder project-key oder die Kombination aus login und account-key wird benötigt. |
login | String | Ihr Crowdin-Nutzername. Entweder project-key oder die Kombination aus login und account-key wird benötigt. |
account-key | String | Ihr Konto-API-Schlüssel. Entweder project-key oder die Kombination aus login und account-key wird benötigt. |
wget -O project.tbx https://api.crowdin.com/api/project/{Projekt-ID}/download-glossary?key={Projektschlüssel}
<?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('project.tbx', file_get_contents('https://api.crowdin.com/api/project/{project-identifier}/download-glossary?key={project-key}'));