API:1/map_names
From Guild Wars 2 Wiki
< API:1
Jump to navigationJump to search
/v1/map_names.json
- HTTP method
- GET
- Format
- json
- API version
- version 1
- Release date
- ?
- Scope
- none
- Optional
- none
This resource returns an unordered list of the localized map names for the specified language. Only maps with events are listed - if you need a list of all maps, use maps.json instead.
Parameters
- Optional parameters
lang
– The language to query the names for.
Response
The response is a list of objects with the following properties:
id
(string) – The map id.name
(string) – The name of the map in the specified language.
Example
https://api.guildwars2.com/v1/map_names.json?lang=fr
[ { "id": "62", "name": "Rivage maudit" }, { "id": "15", "name": "La Vallée de la reine" }, ... ]