Vedd figyelembe, hogy az API 2.0 a preferált verzió. A régi API teljesen funkcionális marad 2021 végéig.
Név | Érték | Leírás |
---|---|---|
project-identifier | string | Projekt azonosítója. |
login | string | A felhasználóneve a Crowdinban. |
account-key | string | A fiókja API kulcsa. |
wget https://api.crowdin.com/api/project/{project-identifier}/pseudo-download?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('pseudo.zip', file_get_contents('https://api.crowdin.com/api/project/{project-identifier}/pseudo-download?login={username}&account-key={account-key}'));