enkaNetwork
GitHubNPM
  • ✨Overview
  • 📦Quick Start | Installation
  • 🖇️TypeScript usage
  • ⚙️Class description
    • 📝EnkaNetwork
    • 💾AssetsUpdater
    • 🔎AssetsFinder
  • 🔗Methods
    • 👤fetchUser
    • 🕵️fetchProfileInfo
    • 🌟fetchEnkaProfile
    • 📕fetchEnkaHoyos
    • 🔹fetchEnkaHoyo
    • 🟣fetchEnkaHoyoBuilds
    • 🚩setLanguage
  • 🎓Models
    • EnkaProfile
    • Character
      • Character
      • CharacterConstellation
      • CharacterReliquary
      • CharacterSkill
      • CharacterStats
      • CharacterWeapon
    • PlayerInfo
      • CharacterPreview
      • Namecard
      • PlayerInfo
      • ProfilePicture
    • Fetcher
      • FetchEnkaHoyosBuilds
      • FetchEnkaHoyo
      • FetchEnkaProfile
      • FetchUserUID
      • FetchProfileInfo
  • ✏️Examples
    • 1️⃣Simple usage
    • 2️⃣Express API
    • 3️⃣Fastify API
    • 4️⃣Telegram bot
Powered by GitBook
On this page
  • Params
  • Example
  • Return

Was this helpful?

  1. Methods

fetchEnkaProfile

PreviousfetchProfileInfoNextfetchEnkaHoyos

Last updated 1 year ago

Was this helpful?

async function to fetch enkaProfile by username from the site.

Params

  • username: string - enka.network profile username.

Example

import { EnkaNetwork } from "enkanetwork";

const enka = new EnkaNetwork();

enka.fetchEnkaProfile("Algoinde").then(console.log); // with enka.network profile username

Return

🔗
🌟
FetchEnkaProfile