voipms-python/voipms/api/dids/search.py

13 lines
359 B
Python
Raw Permalink Normal View History

class Search():
def __init__(self, base):
self.method = ""
self.base = base
2020-03-17 02:58:09 +00:00
def canada(self, params={}):
self.method = "searchDIDsCAN"
return self.base.request(self.method, params=params)
def usa(self, params={}):
self.method = "searchDIDsUSA"
2020-03-17 02:58:09 +00:00
return self.base.request(self.method, params=params)