honzajavorek / fiobank

Fio Bank API in Python
ISC License
38 stars 21 forks source link

lastStatement #20

Open PSLLSP opened 6 years ago

PSLLSP commented 6 years ago

There is one more REST method that it is not documented in the official API documentation but it is used by official java application 'api-plus';

'lastStatement' method returns the the last statement sequence number of the year. Examples: https://www.fio.cz/ib_api/rest/lastStatement/{TOKEN}/statement?year=2017 2017,12 https://www.fio.cz/ib_api/rest/lastStatement/{TOKEN}/statement 2018,4 https://www.fio.cz/ib_api/rest/lastStatement/{TOKEN}/statement?year=2000 null,null https://www.fio.cz/ib_api/rest/lastStatement/{TOKEN}/statement?year=2020 null,null

Sequence numbers are used in the following REST call: https://www.fio.cz/ib_api/rest/by-id/{TOKEN}/{YEAR}/{SEQ}/transactions.{FORMAT}"