๐Ÿช„
Canvacard
CtrlK
  • ๐ŸฅณWelcome
  • ๐Ÿ—‚๏ธClasses
    • ๐ŸŽจWelcome / Leave
    • ๐ŸŽฎFortniteShop
    • ๐ŸŽฏCanvacard
    • ๐ŸŽถSpotify
    • ๐Ÿ†Rank
    • ๐Ÿ–‹๏ธPlugins
  • ๐ŸงฐUtils
    • ๐Ÿ”งAbbreviate
    • ๐Ÿ–ผ๏ธCanvas
    • ๐Ÿ•’Discord Time
    • โš ๏ธError
    • ๐Ÿณ๏ธFlags
    • ๐Ÿ”Format and Validate Hex
    • โฐFormat Time
    • ๐Ÿ“Format Variable
    • ๐Ÿ“…Get Date or String
    • ๐Ÿ”Icon
    • ๐Ÿ”ขIs Number
    • ๐Ÿ”คIs String
    • ๐Ÿ–ผ๏ธParse Image
    • ๐Ÿ“„Parse PNG
    • ๐Ÿ“„Parse SVG
    • ๐Ÿ”ฝShorten
    • โœ‚๏ธTruncate Text
    • ๐Ÿ‘คUsername
Powered by GitBook
On this page
  1. ๐ŸงฐUtils

๐Ÿ”Icon

getIconPath โ‡’ string

Function to get the URL of a badge icon. If the icon is a relative path, it is transformed into an absolute URL pointing to the GitHub repository.

Kind: global variable Returns: string - Absolute URL of the icon. Throws:

  • APIError If there is a problem building the icon URL.

Param
Type
Description

iconUrl

string

Icon name or icon URL.

PreviousGet Date or StringNextIs Number

Last updated 8 months ago