Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

Commit

Permalink
Merge pull request #18 from AusDTO/metrics-apis
Browse files Browse the repository at this point in the history
Add metrics APIs
  • Loading branch information
maxious committed Oct 31, 2016
2 parents 0be5453 + 0abc21d commit 264d4a2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dmapiclient/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,12 @@ def get_roles_count(self):
def get_briefs_count(self):
return self._get('/briefs/count')

def get_metrics(self):
return self._get('/metrics')

def get_metrics_historical(self):
return self._get('/metrics/history')

def create_work_order(self, briefId, supplierCode, workOrder={}):
work_order_data = dict(workOrder, briefId=briefId, supplierCode=supplierCode)

Expand Down

0 comments on commit 264d4a2

Please sign in to comment.