Public/Get-GW2Emblem.ps1

<#
.SYNOPSIS
Retrieves the list of available emblem sub-endpoints from the Guild Wars 2 API.
 
.DESCRIPTION
Calls the Guild Wars 2 API v2 /emblem endpoint.
Returns an array of available sub-endpoints (e.g., "foregrounds", "backgrounds").
 
.EXAMPLE
Get-GW2Emblem
Returns "foregrounds", "backgrounds".
 
.NOTES
- Requires network access to api.guildwars2.com.
- This is a public endpoint and does not require an API key.
#>

function Get-GW2Emblem {
    $url = "https://api.guildwars2.com/v2/emblem"
    $response = Invoke-RestMethod -Uri $url -Method Get
    return $response
}