move away from statistics_api towards service_api

This commit is contained in:
Leo Hemsted
2016-07-29 10:28:18 +01:00
parent a7c8e88ecb
commit 4ea23a7484
3 changed files with 4 additions and 5 deletions

View File

@@ -193,6 +193,9 @@ class ServiceAPIClient(NotificationsAPIClient):
def get_service_usage(self, service_id):
return self.get('/service/{0}/fragment/aggregate_statistics'.format(service_id))
def get_weekly_notification_stats(self, service_id):
return self.get(url='/service/{}/notifications/weekly'.format(service_id))
class ServicesBrowsableItem(BrowsableItem):
@property