diff --git a/coinspot/coinspot.py b/coinspot/coinspot.py index fb71e75..fbcca57 100644 --- a/coinspot/coinspot.py +++ b/coinspot/coinspot.py @@ -137,6 +137,12 @@ def _request(self, path, postdata): return response_data + def latestprices(self): + """ + Retreive the latest priaces for each coin + """ + return self._request('/pubapi/latest', {}) + def sendcoin(self, cointype, address, amount): """ Send coins