Jump to content

There's nothing here yet

  • Similar Content

    • By mLipok
      I am in the process of creating a UDF for CrowdinAPI. I have a problem with one function.   https://crowdin.com/page/api/get-projects     This is my implementation. Func _Crowdin_GetProjects() ; https://api.crowdin.com/api/account/get-projects?account-key={account-key} Local $sURL = 'https://api.crowdin.com/api/account/get-projects?account-key=' & _Crowdin_AccountKey() ConsoleWrite('! ' & $sURL & @CRLF) Local $oXmlHttp = ObjCreate("MSXML2.XMLHTTP.3.0") $oXmlHttp.Open('POST', $sURL, False) $oXmlHttp.Send() Local $output = $oXmlHttp.ResponseText $oXmlHttp = '' Return $output EndFunc ;==>_Crowdin_GetProjects Func _Crowdin_AccountKey($vAccountKey = Default) Local Static $sACCOUNT_API_KEY = '' If $vAccountKey = Default Then Return $sACCOUNT_API_KEY Else $sACCOUNT_API_KEY = $vAccountKey Return $sACCOUNT_API_KEY EndIf EndFunc ;==>_Crowdin_AccountKey I do not know how to use: login={crowdin-login-name}
      curl -F "login={crowdin-login-name}" https://api.crowdin.com/api/account/get-projects?account-key={account-key} Thank you in advance for any help.
  • Create New...