Skip to content

getNotifictaions() error #96

@OrGur1987

Description

@OrGur1987

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions