Repository navigation
Getting Started
SORA edited this page Nov 26, 2026
·
1 revision
pip install akef-cards
Python 3.10 or newer, akef comes along with it.
No login needed, but you only get the operators in the in-game showcase (max 4).
import asyncio
import akef_cards
async def main():
async with akef_cards.Cards() as cards:
profile = await cards.enka(4727743200)
build = profile.build("Gilberta")
image = await cards.render(build, template=2)
image.save("gilberta.png")
asyncio.run(main())Gets you everything: the whole roster, live status, pulls, exploration, monument and contract cards. You need the account's SKPORT token, see akef's docs for how to get one.
import akef
async with akef.Client(token) as client, akef_cards.Cards() as cards:
card = await client.card()
build = await cards.skport(card, "Arcane")
image = await cards.render(build)
live = await cards.render_live(cards.skport_live(card))Keep the token private, it's basically a login.
The first card downloads Enka's game tables (a few MB) and some art, so it takes a few seconds. After that it's all cached on disk, see Caching and Speed.
- Card Gallery for every card
- Discord Bot if you're making a bot
akef-cards · MIT · not affiliated with Hypergryph or Gryphline
akef-cards
- 🏠 Home
- 🚀 Getting Started
- 🖼️ Card Gallery
- 🎞️ Animated Cards
- 🎨 Custom Art
- 🤖 Discord Bot
- ⚡ Caching and Speed
- ❓ FAQ