Repository navigation
Enka and Final Stats
SKPORT only tells you what an operator has equipped. akef.Enka reads public profiles from
Enka.Network and works out the final stats you'd see on the in-game stat screen. No
token needed, just a UID.
async with akef.Enka() as enka:
profile = await enka.profile(4727743200)
arcane = profile.build("Arcane")
print(arcane.stats.atk, arcane.stats.ult_gain)Enka only sees the operators in the in-game showcase. For anyone on your account use a SKPORT card, you get the
same Build with the same numbers:
async with akef.Client(token) as client, akef.Enka() as enka:
card = await client.card()
for op in card.chars:
build = await enka.build(card, op)
print(build.name, build.stats.hp, build.stats.atk)build.stats.atk # 4802
build.stats.ult_gain # 1.892, percentages are fractions
build.weapon.skills[0].value # "+156"
build.weapon.essence.terms # [EssenceTerm(name="Intellect", points=6), ...]
build.gear[1].lines # [GearLine(name="Will", text="+84", level=3), ...]
build.gear_set # ("Eternal Xiranite", 4)They're checked against the in-game stat screen, rounding included. The full story is on the docs site.
The game tables come from Enka and sit on disk. When something new shows up they refresh by themselves. If Enka
hasn't added it yet you get akef.MissingGameData, it fixes itself once Enka updates. await enka.update()
forces a refresh.
akef.Enka(lang="ja"), any of en, ja, ko, zh-tw, zh-cn, es, de, fr, id, pt, ru, th, it,
vi.
akef · MIT · not affiliated with Hypergryph or Gryphline
akef
- 🏠 Home
- 🚀 Getting Started
- 🎲 Pull History
- 📅 Daily Check-in
- 🧮 Enka and Final Stats
- 🤖 Bot Recipes
- ⚡ Caching and Logins
- ❓ FAQ
📖 Docs site
📦 PyPI
💻 Repo
🃏 akef-cards