getAchievements

suspend fun getAchievements(id: Int, pages: Byte? = null): ProfileAchievements

Gets the achievements of a character from The Lodestone. This is equivalent to what is returned by The Lodestone's /achievement endpoint for a character.

Parameters

id

The Lodestone character ID.

pages

The number of pages to get achievements from

Throws

Thrown when a character could not be found on The Lodestone.

Thrown when The Lodestone returns an unknown error.