Repository navigation
Getting Started
SORA edited this page Nov 27, 2026
·
1 revision
pip install akef
Python 3.10 or newer. It only needs aiohttp and pydantic.
- sign in on skport.com
- open
https://web-api.skport.com/cookie_store/account_tokenin the same browser - you get something like
{"code":0,"data":{"content":"nlmdN..."}}
The content string is your token. It's a full login for that account, so treat it like a password: don't
paste it in chats, don't commit it. Logging out of SKPORT ends it.
import asyncio
import akef
async def main():
async with akef.Client("your token") as client:
card = await client.card()
print(card.name, "Authority", card.base.level)
print(f"sanity {card.stamina.current}/{card.stamina.max}")
for op in card.chars:
print(op.rarity, op.name, op.level, op.weapon.name)
asyncio.run(main())You never call login() yourself. The first request logs in, and if SKPORT drops the login later the client logs
in again and repeats the request.
| Call | Gives |
|---|---|
card() |
the whole account card: player, every operator, sanity, dailies, battle pass |
character("Arcane") |
one operator in detail, or pass a list |
monument() |
monument events, clears, teams and times |
contract() |
Contingency Contract runs |
pulls() |
pull history, see Pull History |
attendance(), check_in()
|
see Daily Check-in |
inventory() |
owned operators, weapons, gear |
news(), wiki("operators")
|
announcements and the official wiki |
Pass raw=True to any of them for SKPORT's untouched json.
A SKPORT login can have more than one Endfield account. Every game method takes a uid, leave it out for the
default one.
for role in await client.roles():
print(role.uid, role.nickname, role.server_name)
card = await client.card(4727743200)Public stuff works with just a UID through Enka, see Enka and Final Stats.
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