Python wrapper for sms-man.com
pip install sms-man-wrapper
To use this module register an account on sms-man.com here you can grab your API key then you can initiate SmsMan class like this :
#import the module
from sms-man-wrapper import SmsMan
#initialize the sms object using your api key in the constructor
sms = SmsMan("YOUR API KEY"}
countryInfos = sms.getCountryInfos("France") # return the infos required for the API calls like ID etc
#etc...
Here's a list of all the functions :
- getBalance(): returns the current balance of your account
- requestPhone(service, country): requests a phone number for a specific service and country
- getSms(request_id): retrieves the SMS messages for a specific request
- getServices(): returns a list of available services
- getCountries(): returns a list of available countries
- changeRequestStatus(request_id, status): changes the status of a request
- getCountryInfos(countryName): returns the country information for a specific country
- getServiceInfos(serviceName): returns the service information for a specific service