Class: VanityResources


# Class: VanityResources

# Example

const bingo = await client.resources.vanity.companions();
1

# Extends

  • Method

# API

# companions()

companions(): Promise<ResultObject<ResourcesVanityCompanionsResponse, ["success", "lastUpdated"]>>

Retrieve a list of vanity companions.

# Returns

Promise<ResultObject<ResourcesVanityCompanionsResponse, ["success", "lastUpdated"]>>

# Example

const companions = await client.resources.vanity.companions();
1

# pets()

pets(): Promise<ResultObject<ResourcesVanityPetsResponse, ["success", "lastUpdated"]>>

Retrieve a list of vanity pets.

# Returns

Promise<ResultObject<ResourcesVanityPetsResponse, ["success", "lastUpdated"]>>

# Example

const pets = await client.resources.vanity.pets();
1