getMap

fun getMap(mapId: Int, language: ApiLanguage? = null): Map?

Returns a single io.github.kryszak.gwatlin.api.mapinfo.model.Map instance corresponding to the specidfed ID from the /maps endpoint Documentation can be found in the GW2 Wiki

Parameters

mapId

ID of the map to be fetched

language

one of the languages defined in ApiLanguage when creating this client, if any


fun getMap(continentId: Int, floorId: Int, regionId: Int, mapId: Int, language: ApiLanguage? = null): ContinentMap

Returns the map corresponding to the specified continentId, floorId, regionId and mapId. This function differs from the other getMap function in that it uses the /continents endpoint instead of the /maps endpoint, resulting in a different result object. Documentation can be found in the GW2 Wiki

Parameters

continentId

ID of the continent

floorId

ID of the floor on the continent

regionId

ID of the region on the floor

mapId

ID of the map in the region

language

one of the languages defined in ApiLanguage when creating this client, if any