🚧 aioSMSru
🧑💻 How to use
I gave an example for an async client, but sync is no different,
you just don't need to use await. Get satisfaction 😌
from smsru import AioSMSru, SMSru
client = AioSMSru("app_id")
async def main():
print(await client.sms_cost("79991398805", "I'm in serious shit"))
scend = await client.send_sms(
recipients=['79991398805', '79956896018'],
messages="I feel totally lost"
)
print(await client.check_sms([m_id for m_id in sensed.sms.keys()]))
scend = await client.send_sms(
recipients=['79991398805', '79956896018'],
messages=["If i'm asking for help", "it's only because"]
)
call = await client.callcheck('79991398805')
print(call.code == input("Last 4 digits of incoming call number: "))