Showing Posts For Noodle.4510:

WvWvW: API

in API Development

Posted by: Noodle.4510

Noodle.4510

Thanks for your reply Lawton,

I have try the lang=en and it work.

For the coord/label_coord/sector_id some of objectives have and some haven’t.

So If I resume:
-URL of objective don’t show Coord for all objective.
-Death/Kills aren’t present on EU match.
-The wiki doesn’t mention the language parameter for the objective URL. But the settings work.

I hope you can solve the Death/Kill for UE.

Regards

WvWvW: API

in API Development

Posted by: Noodle.4510

Noodle.4510

hi Eearslya.6309,

and thanks for yours ligths.

I use thoose URL:

https://api.guildwars2.com/v2/wvw/objectives/95-48

But I’m asking something to myself because when i get the result, i obtain that

{
id: "95-48",
name: "Saut de la Foi",
sector_id: 1010,
type: "Camp",
map_type: "GreenHome",
map_id: 95
}

As you can see, there is something which determine the country from the web request. I do not set any parameters and the response give me the answer in french.

If you are using same URL type maybe the difference can come from the country request which filter the result.
In this case is there a way to set a parameter lang like for others JSON or a way to bypass this default settings.

Regards.

WvWvW: API

in API Development

Posted by: Noodle.4510

Noodle.4510

Hi,
I’m working on updating the WvWvW since the V2 JSON format. After working and testing my code I founded an anomaly.

For the US matchup we have:


{
id: "1-2",
start_time: "2015-10-25T01:00:00Z",
end_time: "2015-11-01T01:00:00Z",
scores: {
red: 121057,
blue: 149267,
green: 170591
},
worlds: {
red: 1016,
blue: 1017,
green: 1009
},
deaths: {
red: 9762,
blue: 11688,
green: 14069
},
kills: {
red: 7990,
blue: 12063,
green: 11286
},
maps: []
}

For the UE Ladder:


{
id: "2-3",
start_time: "2015-10-24T18:00:00Z",
end_time: "2015-10-31T18:00:00Z",
scores: {
red: 202731,
blue: 132329,
green: 133615
},
worlds: {
red: 2301,
blue: 2012,
green: 2101
},
maps: []
}

Is this normal that we don’t have deaths / kills UE JSON match details?
Nothing in the wiki.

Another point:

In the WvWvW/Objectives there is a description wich mentionned that:

*coord (array) – An array of two numbers representing the X and Y coordinates of the objectives marker on the map.
*label_coord (array) – An array of two numbers representing the X and Y coordinates of the sector centro

When i send a web request i have not thoose informations.

Regards.