Currently we make use of the Notification and Activity objects to pull the relevant information. In the future only Notification will be needed.
17 lines
381 B
Python
17 lines
381 B
Python
from .resource import List
|
|
from .resource import Find
|
|
from .resource import Update
|
|
from .resource import Create
|
|
|
|
|
|
class Activity(List, Find):
|
|
"""Activities class wrapping the REST activities endpoint
|
|
"""
|
|
path = "activities"
|
|
|
|
|
|
class Notification(List, Find, Update):
|
|
"""Notifications class wrapping the REST notifications endpoint
|
|
"""
|
|
path = "notifications"
|