pip3 install SmsServiceOnline==1.0.2
import SmsServiceOnline
KEY = "<api key here>"
LANG = "ru"
MESSAGE = False
api = SmsServiceOnline.Api(
api_key=KEY,
lang=LANG,
welcome_message=MESSAGE,
)
api.get_balance()
>>> 10.2
all methods -> here
by @fxcvd with ❤