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.
Navn | Parameter | Beskrivelse |
---|---|---|
hash obligatorisk | string | Definerer tidligre modtaget hash fra funktionen til eksporten af Topmedlemsrapport. |
Variabler | ||
project-identifier | string | Projektidentifikator. |
login | string | Dit brugernavn i Crowdin. |
account-key | string | Din konto API-nøgle. |
wget -O top_members.csv "https://api.crowdin.com/api/project/{project-identifier}/reports/top-members/download?login={username}&account-key={account-key}&hash=098f6bcd4621d373cade4e832627b4f6"
<?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('top_members.csv', file_get_contents('https://api.crowdin.com/api/project/{project-identifier}/reports/top-members/download?login={username}&account-key={account-key}&hash=098f6bcd4621d373cade4e832627b4f6'));