API:Main
Материал из Guild Wars 2 wiki
The Guild Wars 2 API (application programming interface) is an interface that enables third-party applications to access data directly from the Guild Wars 2 servers. The current version of the API is version 1. For recent changes of the API, see the API changelog.
To discuss the Guild Wars 2 API, or in case of problems or required help, visit the official API development forums.
Help topics[править]
- Maps: How to use the map resources and the tile service to create maps.
Endpoints[править]
The API version 1 provides the following endpoints:
Dynamic events[править]
- events: Returns the current status of events for a specific world.
- event_names: Returns a list of localized event names.
- map_names: Returns a list of localized map names.
- world_names: Returns a list of localized world names.
- event_details: Returns detailed information about events.
Guilds[править]
- guild_details: Returns detailed information about a guild.
Items[править]
- items: Returns a list of discovered items.
- item_details: Returns detailed information about an item.
- recipes: Returns a list of discovered recipes.
- recipe_details: Returns detailed information about a recipe.
Map information[править]
- continents: Returns a list of continents and information about each continent.
- maps: Returns a list of maps in the game.
- map_floor: Returns detailed information about a map floor
World vs. World[править]
- wvw/matches: Returns the currently running WvW matches.
- wvw/match_details: Returns details about a WvW match.
- wvw/objective_names: Returns a list of WvW objective names.
Miscellaneous[править]
- build: Returns the current build id.
- colors: Returns a list of dyes in the game.
- files: Returns a commonly requested assets.
Services[править]
- Tile service: Provides world map tiles to create Guild Wars 2 maps
- Render service: Provides access to in-game assets.
- Additional resources are available as assets.
Other Resources[править]
- Mumble - Open source voice chat software. Guild Wars 2 provides real-time character position, map_id, and other information via Mumble's Link plugin.
List of wrappers[править]
- A list of wrapper libraries that provide high-level access to the API is available here.
List of applications[править]
- A list of applications that use the API is available here.