From aa4543f9ac334d0fd5b617a600e461ef1f12d856 Mon Sep 17 00:00:00 2001 From: M-307 Date: Sun, 17 Jul 2022 02:33:34 +0700 Subject: [PATCH] =?UTF-8?q?update=20README.md=20-=20=D0=A0=D0=BE=D1=81?= =?UTF-8?q?=D1=81=D0=B8=D1=8F=20to=20=D1=80=D1=83=D1=81=D1=81=D0=BA=D0=B8?= =?UTF-8?q?=D0=B9=20-=20Update=20profile=5Fpicture=20to=20icon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9e998d6..07c9475 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ Library for fetching JSON data from site https://enka.network/ pip install enkanetwork.py ``` + # ✨ Usage ```py import asyncio @@ -21,7 +22,7 @@ async def main(): print("=== Player Info ===") print(f"Nickname: {data.player.nickname}") print(f"Level: {data.player.level}") - print(f"Icon: {data.player.profile_picture.icon}") + print(f"Icon: {data.player.icon.url}") print(f"Signature: {data.player.signature}") print(f"Achievement: {data.player.achievement}") print(f"Abyss floor: {data.player.abyss_floor} - {data.player.abyss_room}") @@ -35,9 +36,9 @@ loop.run_until_complete(main()) === Player Info === Nickname: mrwan2546 Level: 55 -Icon: https://enka.network/ui/UI_AvatarIcon_Hutao.png -Signature: ? -Achievement: 395 +Icon: https://enka.network/ui/UI_AvatarIcon_Kazuha.png +Signature: K A Z U H A M U C H <3 +Achievement: 396 Abyss floor: 8 - 3 Cache timeout: 300 ``` @@ -48,7 +49,7 @@ If you want full docs for the API, visit [EnkaNetwork API Docs](https://github.c | Languege | Code | |-------------|---------| | English | en | -| Россия | ru | +| русский | ru | | Tiếng Việt | vi | | ไทย | th | | português | pt |