XIVAPI::Client::Character
Constants
CHARACTER_DATA_VALUES = Set {"AC", "FR", "FC", "FCM", "PVP", "MIMO", "CJ"}
A Set of Strings representing the fields that can be requested using the Character endpoint
Instance methods
character(id : UInt64, data : Enumerable(String) = [] of String) : Dataclasses::CharacterResponse
Retrieve the details of the Character with the given Lodestone ID.
Any data fields that are requested will be mapped against the CHARACTER_DATA_VALUES variable to ensure only allowed values are sent.
character_search(name : String, server : String = "", page : UInt32 = 1) : Dataclasses::Page(Dataclasses::CharacterSummary)
Search the lodestone API for characters with a given name. Optionally, search specific servers, add request extra fields.
character_verification(id : UInt64, token : String) : Bool
Verify the Character using a token. This method checks that the given token is in the requested User's Bio