API:1/wvw/matches
From Guild Wars 2 Wiki
Jump to navigationJump to search
/v1/wvw/matches.json
- HTTP method
- GET
- Format
- json
- API version
- version 1
- Release date
- ?
- Scope
- none
- Optional
- none
This resource returns a list of the currently running WvW matches, with the participating worlds included in the result. Further details about a match can be requested using the match_details resource.
Parameters
None
Response
The response is an object with the single property wvw_matches which contains list of match objects, each of which contains the following properties:
wvw_match_id(string) – The WvW match id.red_world_id(number) – The world id of the red world.blue_world_id(number) – The world id of the blue world.green_world_id(number) – The world id of the green world.start_time(string) – A timestamp of when the match started.end_time(string) – A timestamp of when the match ends.
Example
https://api.guildwars2.com/v1/wvw/matches.json
{
"wvw_matches": [
{
"wvw_match_id": "2-2",
"red_world_id": 2104,
"blue_world_id": 2301,
"green_world_id": 2202,
"start_time": "2013-08-02T18:00:00Z",
"end_time": "2013-08-09T18:00:00Z"
},
{
"wvw_match_id": "1-3",
"red_world_id": 1016,
"blue_world_id": 1021,
"green_world_id": 1014,
"start_time": "2013-08-03T01:00:00Z",
"end_time": "2013-08-10T01:00:00Z"
},
...
]
}