Changeset 969 for trunk/Modules/FinanceBankAPI
- Timestamp:
- Jul 17, 2024, 8:18:15 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/FinanceBankAPI/FioAPI.php
r911 r969 1 1 <?php 2 2 3 // Specifikace API: https://www.fio.cz/docs/cz/API_Bankovnictvi.pdf3 // API specification: https://www.fio.cz/docs/cz/API_Bankovnictvi.pdf 4 4 5 5 include('GPC.php'); … … 27 27 if ($this->Token == '') throw new Exception('Missing value for Token property.'); 28 28 29 // URL format: https:// www.fio.cz/ib_api/rest/periods/{token}/{datum od}/{datum do}/transactions.{format}29 // URL format: https://fioapi.fio.cz/v1/rest/periods/{token}/{datum od}/{datum do}/transactions.{format} 30 30 // Send request 31 $RequestURL = '/ ib_api/rest/periods/'.$this->Token.'/'.31 $RequestURL = '/v1/rest/periods/'.$this->Token.'/'. 32 32 date('Y-m-d', $TimeFrom).'/'.date('Y-m-d', $TimeTo).'/transactions.'.$this->Format; 33 33 $Response = ''; 34 $Response = @file_get_contents('https:// www.fio.cz'.$RequestURL);34 $Response = @file_get_contents('https://fioapi.fio.cz'.$RequestURL); 35 35 if ($Response == FALSE) 36 36 {
Note:
See TracChangeset
for help on using the changeset viewer.