Files
notifications-admin/app/notify_client/platform_stats_api_client.py
T

15 lines
434 B
Python
Raw Normal View History

2018-06-28 10:28:57 +01:00
from app.notify_client import NotifyAdminAPIClient
class PlatformStatsAPIClient(NotifyAdminAPIClient):
# Fudge assert in the super __init__ so
# we can set those variables later.
def __init__(self):
super().__init__("a" * 73, "b")
def get_aggregate_platform_stats(self, params_dict=None):
return self.get("/platform-stats", params=params_dict)
2018-10-26 15:39:32 +01:00
platform_stats_api_client = PlatformStatsAPIClient()