mirror of
https://github.com/PaiGramTeam/EnkaNetwork.py.git
synced 2024-11-16 11:52:18 +00:00
fc7bfe02ec
- Add model for fetch profile (Hoyos, Build) - Add model profile enka UID
17 lines
307 B
Python
17 lines
307 B
Python
from pydantic import BaseModel
|
|
|
|
from .players import PlayerInfo
|
|
from .build import Builds
|
|
|
|
class PlayerHoyos(BaseModel):
|
|
uid_public: bool = False
|
|
public: bool = False
|
|
verified: bool = False
|
|
player_info: PlayerInfo
|
|
hash: str
|
|
region: str
|
|
order: str
|
|
|
|
builds: Builds = None
|
|
|
|
|