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.
Nome | Valore | Descrizione |
---|---|---|
include_assigned optional | booleano | Defines whether the assigned glossaries should be included in downloaded TBX file. Acceptable values are: 0, 1. Default is 1. |
Variabili | ||
identificatore-progetto | nella stringa | Identificatore progetto. |
accesso | nella stringa | Il tuo nome utente su Crowdin. |
chiave-profilo | nella stringa | La chiave API del tuo profilo. |
wget -O project.tbx https://api.crowdin.com/api/project/{project-identifier}/download-glossary?login={username}&account-key={account-key}
<?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?login={username}&account-key={account-key}'));