mirror of
https://github.com/PaiGramTeam/EnkaNetwork.py.git
synced 2024-11-16 03:45:28 +00:00
Change some variable
- gacha --> banner - list_namecard --> namecards
This commit is contained in:
parent
fd9af4fc4e
commit
7863b82f17
@ -16,7 +16,7 @@ async def main():
|
||||
print(f"XP: {character.xp}")
|
||||
print(f"Icon: {character.image.icon}")
|
||||
print(f"Side icon: {character.image.side}")
|
||||
print(f"Wish banner: {character.image.gacha}")
|
||||
print(f"Wish banner: {character.image.banner}")
|
||||
print("="*18)
|
||||
|
||||
loop = asyncio.get_event_loop()
|
||||
|
@ -14,7 +14,7 @@ async def main():
|
||||
print(f"Icon URL: {data.player.namecard.icon}")
|
||||
print("\n")
|
||||
print("=== List Namecard ===")
|
||||
for namecard in data.player.list_namecard:
|
||||
for namecard in data.player.namecards:
|
||||
print(f"ID: {namecard.id}")
|
||||
print(f"Name: {namecard.name}")
|
||||
print(f"Banner URL: {namecard.banner}")
|
||||
|
Loading…
Reference in New Issue
Block a user