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

8 lines
191 B
Python
Raw Normal View History

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