Added delete endpoint for sms

This commit is contained in:
Kevin F 2022-12-15 23:27:25 +00:00
parent be39006ef0
commit e6ecc715ca
2 changed files with 5 additions and 1 deletions

View File

@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
setup(
name="voipms-python",
version="0.0.2",
version="0.1.0",
description="Python wrapper for the voip.ms REST API",
long_description=long_description,
long_description_content_type="text/markdown",

View File

@ -11,6 +11,10 @@ class SMS():
self.method = "sendSMS"
return self.base.request(self.method, params=params)
def delete(self, params={}):
self.method = "deleteSMS"
return self.base.request(self.method, params=params)
def set(self, params={}):
self.method = "setSMS"
return self.base.request(self.method, params=params)