voipms-python/voipms/api/general/balance.py

8 lines
208 B
Python
Raw Normal View History

2019-08-18 02:02:44 +00:00
class Balance():
def __init__(self, base):
self.method = "getBalance"
self.base = base
2020-03-17 02:58:09 +00:00
2019-08-18 02:02:44 +00:00
def fetch(self, params={}):
2020-03-17 02:58:09 +00:00
return self.base.request(self.method, params=params)