Blizzard / Blizzard/api-wow-docs

Auction API: Getting wrong realm auction batch

Open
#31 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
536
Forks
63
PR merge metrics
No merged PRs in 30d

Description

Hello,

On EU realms, when downloading the batch from the URL returned by the `/api/wow/auction/data/` call, I get the data for another realm:

ownerRealm seems to be correct, but realm.name is not.

Example:

```
$ curl http://eu.battle.net/api/wow/auction/data/medivh
{"files":[{"url":"http://eu.battle.net/auction-data/57304a565824f2d778f9ad106430c98c/auctions.json","lastModified":1412860949000}]}%

$ curl -s http://eu.battle.net/auction-data/57304a565824f2d778f9ad106430c98c/auctions.json | head
{
"realm":{"name":"Suramar","slug":"suramar"},
"alliance":{"auctions":[
{"auc":1407583153,"item":82445,"owner":"Démoniakke","ownerRealm":"Medivh","bid":833200,"buyout":833200,"quantity":1,"timeLeft":"VERY_LONG","rand":0,"seed":75344768},
{"auc":1407398207,"item":52721,"owner":"Meny","ownerRealm":"Medivh","bid":1500000,"buyout":1500000,"quantity":5,"timeLeft":"VERY_LONG","rand":0,"seed":587485066},
{"auc":1408217593,"item":72234,"owner":"Wyskie","ownerRealm":"Medivh","bid":1399999,"buyout":1400000,"quantity":20,"timeLeft":"VERY_LONG","rand":0,"seed":1664512512},
{"auc":1408136378,"item":83007,"owner":"Gàlly","ownerRealm":"Medivh","bid":391875,"buyout":412500,"quantity":1,"timeLeft":"LONG","rand":0,"seed":1840526976},
{"auc":1407820417,"item":21877,"owner":"Telia","ownerRealm":"Medivh","bid":24000,"buyout":50000,"quantity":20,"timeLeft":"LONG","rand":0,"seed":1863355776},
{"auc":1406696962,"item":42751,"owner":"Sîlentspy","ownerRealm":"Suramar","bid":3500000,"buyout":3500000,"quantity":1,"timeLeft":"LONG","rand":0,"seed":987790848},
{"auc":1407764212,"item":82800,"owner":"Ducius","ownerRealm":"Medivh","bid":13250000,"buyout":14500000,"quantity":1,"timeLeft":"VERY_LONG","rand":0,"seed":1191489024,"petSpeciesId":145,"petBreedId":3,"petLevel":1,"petQualityId":2},
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.