voipms-python/voipms/api/dids/search.py
2020-03-16 22:58:09 -04:00

13 lines
359 B
Python

class Search():
def __init__(self, base):
self.method = ""
self.base = base
def canada(self, params={}):
self.method = "searchDIDsCAN"
return self.base.request(self.method, params=params)
def usa(self, params={}):
self.method = "searchDIDsUSA"
return self.base.request(self.method, params=params)