echo — Echo Extension Classes and functions#

Classes and functions for working with the Echo extension.

class echo.Notification(site)[source]#

Bases: object

A notification issued by the Echo extension.

Initialize an empty Notification object.

Parameters:

site (pywikibot.site.BaseSite)

classmethod fromJSON(site, data)[source]#

Construct a Notification object from our API’s JSON data.

Parameters:
Return type:

Notification

mark_as_read()[source]#

Mark the notification as read.

Return type:

bool