Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Suhrob committed Dec 25, 2022
1 parent 697b155 commit 624e03c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,18 @@ eskiz = EskizSMS('email', 'password', save_token=True, env_file_path='.env')
# Don't forget to add env file to .gitignore!
response = eskiz.send_sms('998901234567', message='message')
```
### Async usage

```python
import asyncio

from eskiz_sms.async_ import EskizSMS


async def main():
eskiz = EskizSMS('email', 'password')
response = await eskiz.send_sms('998901234567', 'Hello, World!')


asyncio.run(main())
```
2 changes: 1 addition & 1 deletion eskiz_sms/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from . import types
from .eskiz import EskizSMS

__version__ = '0.1.18'
__version__ = '0.2.0'

__all__ = [
'EskizSMS',
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "eskiz-sms"
version = "0.1.18"
version = "0.2.0"
description = "Package for eskiz.uz/sms"
homepage = "https://github.com/malikovss/eskiz-sms"
authors = ["Malikov <[email protected]>"]
Expand Down

0 comments on commit 624e03c

Please sign in to comment.