splitwise icon indicating copy to clipboard operation
splitwise copied to clipboard

getNotifictaions() error

Open OrGur1987 opened this issue 8 months ago • 0 comments

hi there, tried to use the above function after doing all the necessary authorization, and got the following error:

File "...\venv\lib\site-packages\splitwise\__init__.py", line 942, in getNotifications
    notifications.append(Notification(n))
File "...\venv\lib\site-packages\splitwise\notification.py", line 28, in __init__
    self.source = Source(data["source"])
File "...\venv\lib\site-packages\splitwise\notification.py", line 104, in __init__
    self.url = data["url"]
KeyError: 'url'

your package worked fine for me with getExpenses(), so maybe something changed in the Splitwise API for notifications and it requires adjustments?

all the best, Or.

OrGur1987 avatar Jun 11 '24 18:06 OrGur1987