mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-04 16:11:11 -04:00
New report on platform-admin/reports page to get the usage for all services.
This commit is contained in:
@@ -34,5 +34,12 @@ class BillingAPIClient(NotifyAdminAPIClient):
|
||||
data=data
|
||||
)
|
||||
|
||||
def get_usage_for_all_services(self, start_date, end_date):
|
||||
return self.get(url='/platform-stats/usage-for-all-services',
|
||||
params={
|
||||
'start_date': str(start_date),
|
||||
'end_date': str(end_date),
|
||||
})
|
||||
|
||||
|
||||
billing_api_client = BillingAPIClient()
|
||||
|
||||
Reference in New Issue
Block a user