Skip to content

Commit

Permalink
release: 0.0.27
Browse files Browse the repository at this point in the history
hotfix
  • Loading branch information
barsikus007 committed Sep 24, 2024
1 parent 65befba commit a1f079a
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 10 deletions.
13 changes: 9 additions & 4 deletions README-ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,17 @@ pip install boosty
Пример:

```python
import asyncio

from boosty.api import API

api = API()
response = await api.get_post("boosty", post_id="c9fb8a19-c45e-4602-9942-087c3af28c1b")
print(response.title)
# 'Добро пожаловать на борт!'
async def main():
api = API()
response = await api.get_post("boosty", post_id="c9fb8a19-c45e-4602-9942-087c3af28c1b")
print(response.title)
# 'Добро пожаловать на борт!'

asyncio.run(main())
```

Больше примеров в папке [examples/](https://github.com/barsikus007/boosty/tree/master/examples/)
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,17 @@ pip install boosty
Example:

```python
import asyncio

from boosty.api import API

api = API()
response = await api.get_post("boosty", post_id="c9fb8a19-c45e-4602-9942-087c3af28c1b")
print(response.title)
# 'Добро пожаловать на борт!'
async def main():
api = API()
response = await api.get_post("boosty", post_id="c9fb8a19-c45e-4602-9942-087c3af28c1b")
print(response.title)
# 'Добро пожаловать на борт!'

asyncio.run(main())
```

More examples in [examples/](https://github.com/barsikus007/boosty/tree/master/examples/) folder
Expand Down
2 changes: 1 addition & 1 deletion boosty/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.0.26"
__version__ = "0.0.27"
1 change: 0 additions & 1 deletion boosty/utils/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from boosty.api import API
from boosty.types import BaseObject
from boosty.types.media_types import PlayerUrl, Video, player_urls_size_names
from boosty.utils.json import json

# fmt: off
size_names = Literal[
Expand Down

0 comments on commit a1f079a

Please sign in to comment.