Compare commits
No commits in common. "8343c9183f44a878b78f8e32c1b7830580f33561" and "00254503af60769f220b2939a7be5df3ad58e9d0" have entirely different histories.
8343c9183f
...
00254503af
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()
|
||||||
for rant in await api.get_rants():
|
async for rant in 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