Pseudo-Transferir

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.

Crowdin API v2
Transferir ficheiro ZIP com pseudo-traduções.

Pedido

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

GET https://api.crowdin.com/api/project/{project-identifier}/pseudo-download?login={username}&account-key={account-key}

Parâmetros

Nome Valor Descrição
project-identifier string Identificador do projeto.
login string O teu nome de utilizador no Crowdin.
account-key string A tua chave API de conta.

Exemplos

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}'));

Este artigo foi útil?