splitwise
splitwise copied to clipboard
getNotifictaions() error
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.