Jump to content


General Discussion of Wargaming Public API


  • Please log in to reply
730 replies to this topic

Hedeone #481 Posted 02 September 2015 - 12:04 PM

    Sergeant

  • Developer
  • 1 battle
  • 232
  • Member since:
    09-17-2013

View PostArqum, on 02 September 2015 - 02:03 AM, said:

Hedeone. Can you say something about the WoWs replay json datas? Is it far away from extending with more datas?

 

Unfortunately, i can't. As i know, they are still in development.

Unknown0ne #482 Posted 03 September 2015 - 02:18 PM

    Corporal

  • Beta Tester
  • 0 battles
  • 114
  • Member since:
    07-28-2010

The new stronghold upcoming battles method appears to always show just one battle, and not always the battle closest to starting.

 

For example: https://na.wargaming...ethod=GET&run=1 returns 1 battle vs. http://na.wargaming....008386/battles/ which lists 6 for strongholds.



Hedeone #483 Posted 03 September 2015 - 03:28 PM

    Sergeant

  • Developer
  • 1 battle
  • 232
  • Member since:
    09-17-2013

View PostUnknown0ne, on 03 September 2015 - 04:18 PM, said:

The new stronghold upcoming battles method appears to always show just one battle, and not always the battle closest to starting.

 

For example: https://na.wargaming...ethod=GET&run=1 returns 1 battle vs. http://na.wargaming....008386/battles/ which lists 6 for strongholds.

 

Thanks, we are investigating this issue now.

donamo #484 Posted 03 September 2015 - 09:22 PM

    Corporal

  • Player
  • 21976 battles
  • 110
  • [TRIGG] TRIGG
  • Member since:
    12-24-2011

View PostR03, on 29 July 2015 - 10:09 PM, said:

Looks like a bug:

 

- In the new CW map, if we are already on the map, and we go for a landing tournament (or even if we defend a ladning), then the tournament fights are not added to the players global map (tier8) count. Is this a bug or a feature? When can you fix it?

Thanks.

 

It is fixed?

Wiochi #485 Posted 04 September 2015 - 07:48 AM

    Corporal

  • Player
  • 29696 battles
  • 111
  • [-PIF-] -PIF-
  • Member since:
    05-02-2012

View PostHedeone, on 01 September 2015 - 01:09 PM, said:

 

This is a bug. We expect to fix it with next WoWS API release, which will be after 0.4.1 WoWS release.

 

New version of WoWS is live, API was updated yesterday. Where are those missing ships?

 

When will encyclopedia show modules changes from last patch?

 

http://api.worldoftanks.eu/wgn/servers/info/?application_id=demo - where is WoWS?


Edited by Wiochi, 04 September 2015 - 07:49 AM.


FeuerSturm91 #486 Posted 04 September 2015 - 11:25 AM

    Staff Sergeant

  • Player
  • 14289 battles
  • 410
  • Member since:
    06-04-2011

@Hedeone,

 

update 2.0 brought clans to WoT Blitz, any idea about where I can find clan members information for WoTB in the PAPI?

Thanks!



Hedeone #487 Posted 04 September 2015 - 01:11 PM

    Sergeant

  • Developer
  • 1 battle
  • 232
  • Member since:
    09-17-2013

View Postdonamo, on 03 September 2015 - 11:22 PM, said:

It is fixed?

There were issue on API side or in web interface of GM?

View PostWiochi, on 04 September 2015 - 09:48 AM, said:

 

New version of WoWS is live, API was updated yesterday. Where are those missing ships?

 

When will encyclopedia show modules changes from last patch?

 

http://api.worldoftanks.eu/wgn/servers/info/?application_id=demo - where is WoWS?

Yesterday was WoT API update released. WoWS API update will be released on monday.

View PostFeuerSturm91, on 04 September 2015 - 01:25 PM, said:

@Hedeone,

 

update 2.0 brought clans to WoT Blitz, any idea about where I can find clan members information for WoTB in the PAPI?

Thanks!

Unfortunately, this release of WoTB API doesn't include WoTB clans methods. They will be added later (October).

Wiochi #488 Posted 04 September 2015 - 01:13 PM

    Corporal

  • Player
  • 29696 battles
  • 111
  • [-PIF-] -PIF-
  • Member since:
    05-02-2012

Bug report

 

Endpoint: globalmap/provinces

 

For provinces with landing_type= tournament  there is no information about attacking clans (both attackers and competitors values are empty) example

Values in API are empty but globalmap webpage shows that information.

 

With landing_type = auctions API works fine (array of ids in attackers field) - example

 

 


Edited by Wiochi, 04 September 2015 - 01:14 PM.


Unknown0ne #489 Posted 04 September 2015 - 05:23 PM

    Corporal

  • Beta Tester
  • 0 battles
  • 114
  • Member since:
    07-28-2010

The API, at least for some players, returns null despite the account existing and being available on the World of Tanks website (so they aren't hidden/special accounts). These players, in my experience, have no battles played but I don't think battles are the sole factor as accounts with no battles do sometimes show up in the API.

 

Examples of this issue:

https://na.wargaming...ethod=GET&run=1

http://worldoftanks....nts/1015518706/

 

https://asia.wargami...ethod=GET&run=1

http://worldoftanks....nts/2009234012/

 

 

Also, on another note, the ASIA API doesn't have the wgn/account/info method enabled (querying it gives METHOD_DISABLED), though it does have the wgn/account/list method enabled.


Edited by Unknown0ne, 04 September 2015 - 05:24 PM.


Hedeone #490 Posted 07 September 2015 - 01:49 PM

    Sergeant

  • Developer
  • 1 battle
  • 232
  • Member since:
    09-17-2013

View PostWiochi, on 04 September 2015 - 03:13 PM, said:

Bug report

 

Endpoint: globalmap/provinces

 

For provinces with landing_type= tournament  there is no information about attacking clans (both attackers and competitors values are empty) example

Values in API are empty but globalmap webpage shows that information.

 

With landing_type = auctions API works fine (array of ids in attackers field) - example

 

 

Thanks for bug report!

View PostUnknown0ne, on 04 September 2015 - 07:23 PM, said:

The API, at least for some players, returns null despite the account existing and being available on the World of Tanks website (so they aren't hidden/special accounts). These players, in my experience, have no battles played but I don't think battles are the sole factor as accounts with no battles do sometimes show up in the API.

 

Examples of this issue:

https://na.wargaming...ethod=GET&run=1

http://worldoftanks....nts/1015518706/

 

https://asia.wargami...ethod=GET&run=1

http://worldoftanks....nts/2009234012/

 

 

Also, on another note, the ASIA API doesn't have the wgn/account/info method enabled (querying it gives METHOD_DISABLED), though it does have the wgn/account/list method enabled.

1. Players with 0 battles. This is not a bug, because our data source can return only those accounts, which have > 1 battle. If there are 0 battles they are invisible to us. Unfortunately, we cannot change anything in this issue now.

2. wgn/account/info isn't enabled on Asia region because of technical difficulties. When they will be resolved, this method will be enabled.



Shibou #491 Posted 07 September 2015 - 09:59 PM

    Private

  • Player
  • 10950 battles
  • 1
  • [OTG] OTG
  • Member since:
    03-14-2011

Hi there.

 

Requesting warships in the encyclopedia flag some premium ships as nonpremium:

https://api.worldofwarships.eu/wows/encyclopedia/ships/?application_id=demo&language=de&fields=name%2Cis_premium

 

"4264441840": { "is_premium": false, "name": "Sims" },
"4286527184": { "is_premium": false, "name": "Ishizuchi" },
"4281284592": { "is_premium": false, "name": "Arkansas Beta" },
"4290688720": { "is_premium": false, "name": "Yubari" },

...



chandog #492 Posted 08 September 2015 - 12:04 AM

    Private

  • Player
  • 0 battles
  • 6
  • Member since:
    11-17-2013

Hedeone, we are finding an across the board, average experience discrepancy between the results of the API and the official average experience stat on the wargaming sites. 

This occurs on all our players, including those who have never used premium. 

For example and as a note on our page, these values are pulled directly from the API: 

This player has never used premium. 

http://warshipstats....layer/bobbumman  - 519 average exp as of 7PM EST 

http://worldofwarshi...ab-overview-pvp - 612 average exp as of 7PM EST


Edited by chandog, 08 September 2015 - 12:04 AM.


Hedeone #493 Posted 08 September 2015 - 02:28 PM

    Sergeant

  • Developer
  • 1 battle
  • 232
  • Member since:
    09-17-2013

View Postchandog, on 08 September 2015 - 02:04 AM, said:

Hedeone, we are finding an across the board, average experience discrepancy between the results of the API and the official average experience stat on the wargaming sites. 

This occurs on all our players, including those who have never used premium. 

For example and as a note on our page, these values are pulled directly from the API: 

This player has never used premium. 

http://warshipstats....layer/bobbumman  - 519 average exp as of 7PM EST 

http://worldofwarshi...ab-overview-pvp - 612 average exp as of 7PM EST

 

Thank you for this report. Unfortunately, this is a bug on data source side. We will try to fix it as soon as possible.

RichardNixon #494 Posted 09 September 2015 - 12:00 AM

    Captain

  • Player
  • 4395 battles
  • 2,351
  • Member since:
    06-26-2013

Keeping base XP in the WoWS API would be nice. It might be useful for something that way.

 

Also, any news on adding raw & per-tank assisted damage values in WoT? I need to know whether it's worth releasing WN9.

 



Hedeone #495 Posted 09 September 2015 - 12:25 PM

    Sergeant

  • Developer
  • 1 battle
  • 232
  • Member since:
    09-17-2013

View PostRichardNixon, on 09 September 2015 - 02:00 AM, said:

Keeping base XP in the WoWS API would be nice. It might be useful for something that way.

 

Also, any news on adding raw & per-tank assisted damage values in WoT? I need to know whether it's worth releasing WN9.

 

 

Unfortunately, for various reasons it was decided to show XP only with premium in all sources - game client, game portal, API and ratings. So, soon (hotfix will be applied in next few days) XP in API will be shown with premium only.

 

About assisted damage - no, there aren't any news at this moment.



aydie #496 Posted 10 September 2015 - 10:07 AM

    Warrant Officer

  • Player
  • 10355 battles
  • 734
  • Member since:
    02-25-2012

Hedeone,

 

I'm sorry to keep nagging, but it seems you guys broke the statistics.globalmap_* functions again.

At least for the globalmap_middle, I don't get any updates since a couple of days. (I can only speak about that, as I know for a fact our clan hat a couple of T6 CW battles the last days, even myself I took part in one yesterday)



Hedeone #497 Posted 10 September 2015 - 02:16 PM

    Sergeant

  • Developer
  • 1 battle
  • 232
  • Member since:
    09-17-2013

View Postaydie, on 10 September 2015 - 12:07 PM, said:

Hedeone,

 

I'm sorry to keep nagging, but it seems you guys broke the statistics.globalmap_* functions again.

At least for the globalmap_middle, I don't get any updates since a couple of days. (I can only speak about that, as I know for a fact our clan hat a couple of T6 CW battles the last days, even myself I took part in one yesterday)

 

Could you check this battles in game client statistics? If there will be missing battles too, please, make a bug report to https://eu.wargaming.net/support into WoT category.



Unknown0ne #498 Posted 11 September 2015 - 02:04 PM

    Corporal

  • Beta Tester
  • 0 battles
  • 114
  • Member since:
    07-28-2010

For the wot/globalmap/provinces method, Active battles appears to always be empty.

 

For example, for this province: https://asia.wargami...urnament/cobden which at the time of the requests had this for the current round: http://i.imgur.com/zb7NwLb.png

The API response for https://api.worldoft...vince_id=cobden was:

 

{
 "status": "ok",
 "meta": {
 "count": 1},
 "data": [
 {
 "active_battles": [],
 "competitors": [
 2000000537,
 2000001580,
 2000002917,
 2000003259,
 2000003687,
 2000004478,
 2000005064,
 2000005093,
 2000005109,
 2000005469,
 2000006004
 ],
 "province_id": "cobden"}
 ]
}

 

Waiting for the round to start yielded the same API result (though I think they were all techs as they were over within a minute).

 

Two other thoughts regarding the provinces method:

neighbours being an empty array when the borders are disabled is, to me, counterintuitive as the province still has neighbours, movement between them is just blocked.

The distinction between attackers vs. competitors isn't clear. Is attackers clans attacking from a neighbouring province and competitors landing zone/auction applicants?

 



chandog #499 Posted 14 September 2015 - 03:47 AM

    Private

  • Player
  • 0 battles
  • 6
  • Member since:
    11-17-2013

Hedeone, quick question about replays for WoWs. I know you mentioned that they are in a very early state with minimal data, but are you able to identify for us what "scenarioConfigId" equates to?

 

Also as a quick note, in the data dump of the replay, [playerID] => 0, is recurring every time.



aydie #500 Posted 14 September 2015 - 07:33 AM

    Warrant Officer

  • Player
  • 10355 battles
  • 734
  • Member since:
    02-25-2012

Hedeone,

 

is it possible that the API does no longer count up if it's a battle in the landing tournament? That would comply with what I can see, as f.e. yesterday none of the numerous landing tournament battles of ATD-X is reflected by the API responses, however I can see some battles of the top clans which I know own provinces. And for my clan, the only days where battles got registered, are the days when we either conquered or defended a province.

 

This issue is getting rather exhausting. I opened a ticket in the support area as well. Since the change to the new globalmap API, those requests have never been working reliably for more than a couple of days.

 






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users