Metadata-Version: 2.1
Name: aiosmsru
Version: 0.1.2a1
Summary: (A)sync client for sms.ru with pydantic responses
Home-page: https://github.com/WhiteApfel/aiosmsru
Author: WhiteApfel
Author-email: white@pfel.ru
License: Mozilla Public License 2.0
Keywords: sms wrapper api russia
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries
Description-Content-Type: text/markdown
License-File: LICENSE

# 🚧 aioSMSru

- [x] Send SMS
- [x] Check SMS status
- [x] Get SMS cost
- [x] Get balance
- [x] Get limit
- [x] Get free limit
- [x] Get my senders
- [x] Check api_id or login and password
- [ ] Add to stoplist
- [ ] Remove from stoplist
- [ ] Get stoplist
- [ ] Add callback
- [ ] Remove callback
- [ ] Get callbacks
- [ ] Callcheck

## 🧑‍💻 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 😌

```python
from smsru import AioSMSru, SMSru

client = AioSMSru("app_id")

async def main():
    print(await client.sms_cost("79991398805", "I'm in serious shit"))
    
    # 79991398805 and 79956896018 <- I feel totally lost
    sensed = 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()]))
    
    # 79991398805 <- If i'm asking for help
    # 79956896018 <- it's only because
    sensed = await client.send_sms(
        recipients=['79991398805', '79956896018'],
        messages=["If i'm asking for help", "it's only because"]
    )
```

