Originally going to have the domain name of "enka.cards" but has now been moved over to "cards.enka.network". Read below on how to use.
With your enka.network profile, have you ever wanted the card to show up in your Discord embed? Well, now you can! Just replace your original enka.network link with cards.enka.network and you're good to go!
Example:
https://enka.network/u/jxtq/488BWO/10000089/3018594
Replace with:
https://cards.enka.network/u/jxtq/488BWO/10000089/3018594
This will now show up in your Discord embeds!
- Standard User Account Profiles. e.g. https://enka.network/u/jxtq/488BWO/10000089/3018594
- Genshin UID Lookup links. e.g. https://enka.network/u/744008962/
- HSR UID Lookup links. e.g. https://enka.network/hsr/616910611/
- ZZZ UID Lookup links. e.g. https://enka.network/zzz/1500422486/
- Copy the link you want to convert.
- Replace
enka.networkwithcards.enka.network. - Paste the new link into your Discord embed. Example URL would be: https://cards.enka.network/u/jxtq/488BWO/10000089/3018594
- Append the character ID to the end of the URL, example URL would be: https://enka.network/u/744008962/10000089
If you have a website or Discord bot that would wish to utilise this feature, there is a route that allows for getting the image without checking if the request is from Discord or not. It also accepts all the query parameters available (listed below).
To get the image directly, just append /image onto the end of the pathname.
Available query parameters (Added to the URL via query params)
lang={language}- The language you wish to use, defaults toen. Example would belang=frfor French.substats- Whether theRoll Quality/Substatstoggle is enabled, requirestrueorfalse. Defaults tofalse.subsBreakdown- Whether theSubstat breakdowntoggle is enabled, requirestrueorfalse. Defaults tofalse.uid- Whether theShow UIDtoggle is enabled, requirestrueorfalse. Defaults totrue.hideNames- Wther theShow usernametoggle is disabled, requirestrueorfalse. Defaults tofalse(The wording here is confusing, I am aware. Names are shown by default in this instance.)
- If you go to the card link, you will get redirected to the card on enka, unless you can not which you will just be redirected to the first card enka picks for you
- If you go to the image link, you will get the image, this is the only link that doesn't redirect if Discord isn't the one fetching the link for the embed.
