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.
O Crowdin fornece API RESTful com XML ou JSON via HTTP ao usar métodos GET e POST. Listed below are all the available API methods that allow you to create projects in Crowdin, add and update files, download translations or integrate localization with your development process.
To find your Account API key you have to login to your Crowdin account. Open Account Settings page and switch to API tab.
Please note that almost all API calls require the Project Identifier (ID). You can find your project identifier in the Project settings > API & Webhooks tab.
For every API request you make, you'll need to present the Account API key and username as main URI parameters to be authenticated. Keep your Account API key in secret! Ela deve ser guardado apenas com a tua palavra-passe normal da conta.
Aqui está um exemplo e um princípio de formação de URI e pedido API.
Typical API call URL looks like this: https://api.crowdin.com/api/project/. First placeholder (keyword in brackets) holds project identifier. Account API key and username are specified as a URI parameters.
The number of simultaneous API calls per account is 20 requests. If the limit is exceeded, 429 error code will show up with a message: “Maximum number of concurrent requests for this endpoint is reached. Please try again shortly.”
Postman é uma ferramenta que permite-te trabalhar com a API do Crowdin duma forma simples.
All the available Crowdin API methods are already saved as a collection in Postman. Click Run in Postman to import and open this collection directly in your Postman app.
Add a new file to Crowdin project.
Upload the latest version of your source files (the ones, that should be localized) to your Crowdin project.
Delete file from Crowdin project. All the translations will be lost without ability to restore them.
Enviar traduções existentes para o teu projeto no Crowdin. Method is not working for Assets localization.
Track overall translation and proofreading progresses of each target language. Default response format is XML.
Obtenha o progresso detalhado da tradução para o idioma especificado.
Obter detalhes do Projeto do Crowdin.
Get a list of issues reported in the Editor.
This method exports single translated files from Crowdin. Additionally, it can be applied to export XLIFF files for offline localization.
Compilar arquivo ZIP com as últimas traduções.
Obter o estado de traduções para exportação.
Download a ZIP file with translations. You can choose the language of translation you need or download all of them at once.
Pre-translate Crowdin project files.
Obter lista dos projetos.
Create Crowdin project.
Editar o projeto Crowdin.
Apagar o projeto do Crowdin com todsas as traduções.
Adicionar diretório ao projeto no Crowdin.
Rename directory or modify its attributes. When renaming directory the path can not be changed (it means new_name parameter can not contain path, name only).
Delete Crowdin project directory. All nested files and directories will be deleted too.
Transferir glossários do projeto no Crowdin como ficheiro TBX, CSV, ou XLSX.
Enviar os teus glossários para o Projeto do Crowdin nos formatos dos ficheiros TBX, CSV ou XLS/XLSX.
Transferir a Memória de Tradução do projeto no Crowdin como ficheiro TMX, CSV, ou XLSX.
Enviar a tua Memória de Tradução para o Projeto do Crowdin no formato de ficheiro TMX, CSV OU XLS/XLSX.
Obter lista de idiomas suportados com códigos mapeados do Crowdin para o nome do local e códigos padronizados.
Gerar ficheiros de pseudo-tradução para todo o projeto.
Transferir ficheiro ZIP com pseudo-traduções.
Generate Costs Estimation report to have an insight on how to plan the budget. This report allows you to calculate the approximate translation cost of currently untranslated strings in the project.
Transferir o relatório da Estimativa de Custos gerados, anteriormente.
Gerar receber de Custos de Tradução para calcular o custo real da tradução e saber quanto os teus tradutores e revisores devem receber.
Transferir o relatório gerado, anteriormente, dos Custos de Tradução.
Gerar relatório dos Top Membros, para saber quem contribuiu mais para a tradução do teu projeto durante o período especificado.
Transfira o relatório gerado, anteriormente, no Top Membros.
Crowdin API Java SDK helps you smooth the work with all Crowdin API methods in your Java project, such as adding and updating files, downloading translations or integrating localization with your development process.