Compare commits
2 Commits
00254503af
...
8343c9183f
Author | SHA1 | Date | |
---|---|---|---|
8343c9183f | |||
d0476f7bb5 |
BIN
dist/devranta-1.0.0-py3-none-any.whl
vendored
BIN
dist/devranta-1.0.0-py3-none-any.whl
vendored
Binary file not shown.
BIN
dist/devranta-1.0.0.tar.gz
vendored
BIN
dist/devranta-1.0.0.tar.gz
vendored
Binary file not shown.
@ -5,7 +5,7 @@ from devranta.api import Api
|
|||||||
|
|
||||||
async def main_async():
|
async def main_async():
|
||||||
api = Api()
|
api = Api()
|
||||||
async for rant in api.get_rants():
|
for rant in await api.get_rants():
|
||||||
print(
|
print(
|
||||||
"{}({}): {}".format(
|
"{}({}): {}".format(
|
||||||
rant["user_username"], rant["user_score"], rant["text"].split(".")[0]
|
rant["user_username"], rant["user_score"], rant["text"].split(".")[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user