honzajavorek / fiobank

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

Just question: should this API python package work also for Slovak account of Fio Bank? #37

Closed z4nD4R closed 1 month ago

z4nD4R commented 1 month ago

Hi Guys,

I'm just wondering if this API wrapper should also work for Slovak clients? I've tried "just like that", but I've received an error like:

python poc.py Traceback (most recent call last): File "/home/ms/personal/devs/fiobank/poc.py", line 7, in <module> info = client.info() File "/home/ms/.virtualenvs/dev/lib/python3.10/site-packages/fiobank.py", line 164, in info data = self._request("periods", from_date=today, to_date=today) File "/home/ms/.virtualenvs/dev/lib/python3.10/site-packages/fiobank.py", line 92, in _request response.raise_for_status() File "/home/ms/.virtualenvs/dev/lib/python3.10/site-packages/requests/models.py", line 1021, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 500 Server Error: for url: https://fioapi.fio.cz/v1/rest/periods/.../2024-09-30/2024-09-30/transactions.json

If there should be any changes in the code or only some tested needed, please let me know I'll be more than happy to help.

z4nD4R commented 1 month ago

mea culpa - resolved - just typo

honzajavorek commented 1 month ago

Thanks for filing this anyway! Now I know that it works for Slovak clients just like that 😄