GithubHelp home page GithubHelp logo

api-wow-docs's People

Contributors

adamtreineke avatar coss avatar kelsin avatar milesj avatar ngerakines avatar nthomson avatar peratryn avatar pgrimaud avatar weexpectedthis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

api-wow-docs's Issues

Queue status

Would it be possible to get realm queue status on the realm status call?

Tip for documentation

Hi,

I've come across this http://apiary.io/
which is a highly useful website.
As I've noticed there are a few people that comment here.
Maybe its useful to use ApiAry I use it on my work now :-)

Cheers

Whats that Timestamp?

I often get these results

float(1247478960000) float(1247493360000) float(1247517540000) float(1247567820000) float(1247593380000)
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (1247685660) at position 8 (6): Unexpected character' in xx\blizzarsenal.php:31 Stack trace: #0 xx\blizzarsenal.php(31): DateTime->__construct('1247685660') #1 {main} thrown inxx\blizzarsenal.php on line 31

Whats that timestamps format?

Endpoint for item bonus stats

Data generation

To generate the script, use s_bonusStatStringTags, BONUS_STAT_START, and BONUS_STAT_MAX from the client source tree (probably available in WoW/Source/Ui/GameUI.cpp but I can't be sure). If s_bonusStatStringTags is defined by brace initialization, you can probably copy-paste that and adjust the indexing at line 85 to read local mod = bonusStats[i + 1]. The script also requires Interface/FrameXML/GlobalStrings.lua from the appropriate localized client data directory to be present in the same directory when ran. From there it's just a matter of running the script and converting the tsv output to whatever format you wanna consume.

Documentation sample

Item Bonus Stats

The item bonus stats data API provides a mapping from bonusStat id to name.

URL: /api/wow/data/item/bonusStats

Example Data

Authentication keys

Any update on those? Is this still something you consider providing in the future?

Application authentication

Application Registration

NOTE While we work on improving the authentication process we're no longer handing out api keys.
All anonymous requests have the same limit as a normal key.

Still true ?

Improve Error Handling

Could you please add examples for the response headers?

For example, it would be really useful to know if the If at first you don't succeed, blow it up again. (too many requests) response contains a Retry-After header and what's the best practice to check if I'm still throttled (e.g. send HEAD or GET request?; request the server status for one server, a character without fileds or a short data resource?).

xsltproc invocation wrong?

At least with libxslt 1.1.26 and docbook-xsl 1.75.2 on FreeBSD I have to invoke it as:

xsltproc --stringparam html.stylesheet style.css api-wow.xsl docbook-new.xml > index-new.html

Invoking it as

xsltproc api-wow.xsl --stringparam html.stylesheet style.css docbook-new.xml > index-new.html

gives me:

warning: failed to load external entity "--stringparam"
unable to parse --stringparam
warning: failed to load external entity "html.stylesheet"
unable to parse html.stylesheet
style.css:1: parser error : Start tag expected, '<' not found
html {
^
unable to parse style.css

Incorrect description in battle pet species json

Starcraft 2 should be StarCraft II

Fixed here:

{
    "abilities": [
        {
            "cooldown": 0, 
            "icon": "spell_shadow_plaguecloud", 
            "id": 640, 
            "isPassive": false, 
            "name": "Toxic Smoke", 
            "order": 1, 
            "petTypeId": 9, 
            "requiredLevel": 2, 
            "rounds": 1, 
            "showHints": false, 
            "slot": 1
        }, 
        {
            "cooldown": 0, 
            "icon": "ability_racial_rocketbarrage", 
            "id": 777, 
            "isPassive": false, 
            "name": "Missile", 
            "order": 0, 
            "petTypeId": 9, 
            "requiredLevel": 1, 
            "rounds": 1, 
            "showHints": false, 
            "slot": 0
        }, 
        {
            "cooldown": 0, 
            "icon": "inv_mace_02", 
            "id": 455, 
            "isPassive": false, 
            "name": "Batter", 
            "order": 3, 
            "petTypeId": 9, 
            "requiredLevel": 10, 
            "rounds": 1, 
            "showHints": false, 
            "slot": 0
        }, 
        {
            "cooldown": 0, 
            "icon": "inv_misc_pyriumgrenade", 
            "id": 636, 
            "isPassive": false, 
            "name": "Sticky Grenade", 
            "order": 2, 
            "petTypeId": 9, 
            "requiredLevel": 4, 
            "rounds": 1, 
            "showHints": false, 
            "slot": 2
        }, 
        {
            "cooldown": 0, 
            "icon": "ability_mount_rocketmount", 
            "id": 293, 
            "isPassive": false, 
            "name": "Launch Rocket", 
            "order": 5, 
            "petTypeId": 9, 
            "requiredLevel": 20, 
            "rounds": 1, 
            "showHints": false, 
            "slot": 2
        }, 
        {
            "cooldown": 0, 
            "icon": "inv_misc_bomb_09", 
            "id": 634, 
            "isPassive": false, 
            "name": "Minefield", 
            "order": 4, 
            "petTypeId": 9, 
            "requiredLevel": 15, 
            "rounds": 1, 
            "showHints": false, 
            "slot": 1
        }
    ], 
    "canBattle": true, 
    "creatureId": 42078, 
    "description": "Powerful artillery of the terran army. The Thor is always the first one in and the last one out!", 
    "icon": "t_roboticon", 
    "petTypeId": 9, 
    "source": "Promotion: StarCraft II: Wings of Liberty Collector's Edition", 
    "speciesId": 258
}

Pandaria Normal Bosses Progress - normalTimestamp = 0

This query

http://eu.battle.net/api/wow/character/nathrezim/Inkpouch?fields=progression

produces this progress on Stone Guards in Mogu'Shan:

{"id":128288,"name":"Stone Guard","lfrKills":10,"lfrTimestamp":1350050859000,"normalKills":10,"normalTimestamp":0,"heroicKills":1,"heroicTimestamp":1357761053000}

As you can see the normalTimestamp value is null which really can't be because "normalKills":10. lfr and heroic timestamps are working fine.

I can observe the same problem with all the other guildmates. Other characters of the same realm are fine.

Get team of Arena

Is it possible to get the list of arena teams from a battle group with the players ?

Auction API: Getting wrong realm auction batch

Hello,

On EU realms, when downloading the batch from the URL returned by the /api/wow/auction/data/<realm> 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},

Describe possible fields in API calls

The biggest issue I've come across in navigating the API is having to figure out 1) what available fields there are in the API, and 2) what each of the fields mean.

A perfect example of this is in the character profile API's audit field. There are many fields, such as recommendedJewelcrafterGem, that don't appear for some characters, because they simply don't apply, and the documentation here does not list them all. Further, once a field has been found, I sometimes have a difficult time figuring out exactly what the field is used for. For example, I have no idea what lowLevelItems is supposed to be, because it is an empty object for every character I've tested it on so far.

I know it would be a rather large project, but it would be nice to have something that shows all of the possible fields and what they mean.

All pets' itemId are ''82800'

When I call the auction api 'us.battle.net/api/wow/auction/data/', all the pets' itemId are '82800',is it a defect?

Navigation causes full reload

Clicking an item in the navigation causes a full page reload, which takes about 12 seconds on my high end machine.

Windows 7 x64, Firefox 21.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.