Skip to content

BaLaurent/sms-man-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

sms-man-wrapper

Python wrapper for sms-man.com

Installation

pip install sms-man-wrapper

Usage

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...

Functions

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

About

Python wrapper for sms-man.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages