Request
Note: Either use the combination of project identifier and project key or combination of project identifier, username, and account key to pass to this endpoint.
GET https://api.crowdin.com/api/project/{project-identifier}/download-glossary?key={project-key}
GET https://api.crowdin.com/api/project/{project-identifier}/download-glossary?login={username}&account-key={account-key}
Parameters
Name | Value | Description |
---|---|---|
include_assigned optional | bool | Defines whether the assigned glossaries should be included in downloaded TBX file. Acceptable values are: 0, 1. Default is 1. |
Variables | ||
project-identifier | string | Project identifier. |
project-key | string | Project API key. Either the project-key or combination of username and account-key are required. |
login | string | Your username in Crowdin. Either the project-key or combination of username and account-key are required. |
account-key | string | Your account API key. Either the project-key or combination of username and account-key are required. |
Examples
wget -O project.tbx https://api.crowdin.com/api/project/{project-identifier}/download-glossary?key={project-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?key={project-key}'));