Posted 25 July 2010 - 01:59 PM
Posted 26 July 2010 - 06:42 PM
Boomer in EJBSG 19 | Roslin in EJBSG 17 | Roslin in EJBSG 13 | Roslin in EJBSG 8
MTG Online draft viewer
Posted 15 October 2010 - 03:10 PM
The auction browsing is based off your primary toon, does anyone know the url to select a different primary toon?
Posted 22 November 2010 - 09:37 PM
Post to URL: https://us.battle.net/login/en/login.xml
- accountName: <account name>
- password: <password>
Afterwards, I do a get request to http://www.wowarmory.com/auctionhouse/index.xml, which should build the correct cookies. To validate a successful login, check the cookies for (perl regular expression):
Note: I do a match in the cookies for the 'auction_sk' code, as it appears to be passing this param 'sk' around during POSTs, but currently it does not seem to be needed for a successful response.
To List all Characters:
Get URL request: http://www.wowarmory.com/vault/character-select.xml
XML response should be easily queried by xpath (ex.):
Note: The first name listed (I believe) is the default character.
To Switch the Default Character:
does anyone know the url to select a different primary toon?
Post to URL: http://www.wowarmory.com/vault/character-select-submit.json
- cn: <character name>
- r: <server>
Posted 06 December 2010 - 04:05 AM
They have switched to using REST calls for using the Remote AH. Here are the new base search pages:
https://us.battle.net/wow/en/vault/character/auction/horde/ https://us.battle.net/wow/en/vault/character/auction/alliance/ https://us.battle.net/wow/en/vault/character/auction/neutral/
Browsing has also changed:
https://us.battle.net/wow/en/vault/character/auction/horde/browse?key=val&key2=val2 (same options at the end as before)
The old method of setting rhtml=n to get JSON/XML does not seem to produce JSON/XML anymore. This should probably be what people work on figuring out first.
I have not looked into the other methods for posting/canceling auctions yet, but they should be trivial to discover.
Posted 06 December 2010 - 09:01 AM
This would only return the results for Silk Cloth rather than getting results for items such as a bolt of silk cloth when using the text search.
If anyone has figured out what file has replaced the bid.json script please feel free to share =)
Posted 06 December 2010 - 09:07 AM
browse: GET https://us.battle.net/wow/en/vault/character/auction/horde/ bid_auction: POST https://us.battle.net/wow/en/vault/character/auction/horde/bid cancel_auction: POST https://us.battle.net/wow/en/vault/character/auction/horde/cancel create_auction: POST https://us.battle.net/wow/en/vault/character/auction/horde/createAuction deposit (ticket request): POST https://us.battle.net/wow/en/vault/character/auction/horde/deposit money: POST https://us.battle.net/wow/en/vault/character/auction/horde/money my_auctions: GET https://us.battle.net/wow/en/vault/character/auction/horde/auctions my_bids: GET https://us.battle.net/wow/en/vault/character/auction/horde/bids
Keep in mind that the "horde" portion of the URL is dynamic and can be "horde", "alliance", or "neutral".
So far I've found that the bid, cancel, create, deposit (ticket request) and money requests all return native JSON.
I still haven't found a way to get the browse, "my auctions", or "my bids" requests to return anything but HTML.
Also, upon looking at this I got the idea that since all of the POST requests returned JSON that maybe any POST request would, but sending POST instead of GET to the browse URL still results in HTML.
Posted 06 December 2010 - 09:54 AM
In regards to https://us.battle.ne...on/alliance/bid, what variables are you posting to bid / buyout an auction?
Is it still the Auction id and Money (in copper)?
There is an additional key required now (other than the auction id (auc) and amount to bid (money)) that is "xtoken". The value of this key is taken from the cookie "xstoken" that is set during login.
These new "xtoken" and "xstoken" keys are used for several of the operations. There seems to be some confusion with them, for example in the POST request for bidding on an auction, the "xtoken" value is taken from the cookie "xstoken" (note the "s").
In the cancel operation, the "xtoken" value comes from the "xtoken" cookie, same with the create operation.
In the deposit operation when creating a new auction, there is also a new key "sk", which is derived from the "xstoken" cookie.
Posted 06 December 2010 - 01:21 PM
Just some of the changes with the new Armory and for ease of having everything in one place rather than spread around in multiple places. I'll try to keep it updated with new stuff we discover as time permits.
Posted 29 December 2010 - 07:08 PM
It looks like the browser sends a post request with the following parameters but I cannot get my app to work with them, I just get a (404) Page not found error:
Post url: http://us.battle.net.../pref/character
index=3 (Character index)
xstoken=478e4589-5337-49db-b5ff-039743710268 (Set in cookie)
Thanks in advance for the help!
Posted 30 December 2010 - 10:25 PM
Due to popular demand from people who actually parsed Armory data, they re-enabled the old URL's while they work on finalizing an API for accessing the new Armory.
This was a thread on the subject: WTB XML Feeds! Offering lunch at Javier's! - Forums - World of Warcraft
When interacting with World of Warcraft, you can specify the character with the 'cn' key, like this:
It also works for creating an auction, bidding, etc. All of the actions will accept 'cn' (character name), 'f' (faction) and 'r' (realm).
In short, don't use the new Armory URL's (yet) unless you just like parsing HTML. If you want XML/JSON just use the old URL's until they publish the new API.
Posted 04 January 2011 - 02:54 PM
Perhaps ( keeping hope up ) they are in the test phase now and will release new data feeds soon.
Posted 15 January 2011 - 04:42 AM
The important part for me is a programmatic, reliable way to get the data. I can't look inside WTF files. I need to be able to get it off the wire, preferably from Blizzard directly. If there are other options, I'm open to those as well.
Here is the Wireshark of the launcher starting up if anyone is curious:
IP: 126.96.36.199 PORT: 80 GET /wow-pod-retail/NA/config_recommended_na_2.xml HTTP/1.1 Host: ak.worldofwarcraft.com.edgesuite.net User-Agent: Launcher/4.0.0 CFNetwork/454.11.5 Darwin/10.6.0 (i386) (MacBookPro6%2C2) Accept: */* Accept-Language: en-us Accept-Encoding: gzip, deflate Connection: keep-alive HTTP/1.1 200 OK Server: Apache ETag: "3173b46d78ca246332f8be5915acbbe3:1291056533" Last-Modified: Mon, 29 Nov 2010 18:48:53 GMT Accept-Ranges: bytes Content-Length: 525 Content-Type: application/xml Date: Sat, 15 Jan 2011 04:21:14 GMT Connection: keep-alive <config> <versioninfo type="pod"> <version product="WoW"> <servers> <server id="akamai" url="http://ak.worldofwarcraft.com.edgesuite.net/wow-pod-retail/NA/12911.streaming.2/"/> </servers> <thresholds> <threshold speed="1000000" red="5" yellow="5" /> <threshold speed="1000001" red="1" yellow="5" /> </thresholds> <settings> <setting name="patchapplicationstage" value="Recommended"/> </settings> </version> </versioninfo> </config>
Posted 18 January 2011 - 12:59 AM
I've tried to escape them but I just keep getting the This account does not have any characters who are eligible to use the Auction House error message.
If I change cn to another character on the same account with no UTF-8 symbols it works fine.
Posted 29 January 2011 - 10:55 PM
Posted 07 February 2011 - 04:22 PM
Posted 09 February 2011 - 11:37 PM
It returns results like this:
See the "total" of 200? That means it only returns the first 200 results. How do I change this to return more results? How are websites like the Undermine Journal able to pull EVERY auction and not just the first 200?
Posted 10 February 2011 - 06:01 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users