Register
Page 9 of 9 First ... 789
Results 81 to 88 of 88
  1. #81
    Bart39's Avatar
    Posts
    1,746
    Reputation
    101
    Tagged in
    541 Posts
    Add to this user's reputation
    Realm data from blizzard only updates roughly hourly in the EU and 1-2 hours in the US so if you make your requests hourly you will never be "stale" as such and will not exceed your daily limit
    Sic has joined #TradeSkillMaster
    sic> I love you all. TSM Has given me children.
    sic> That is all.
    Sic has left #TradeSkillMaster

    MuffinPvEHero> and I agree with Bart39

    TSM Application Developer / Assistant Addon Developer

    For information: TSM Website, TSM Addon, TSM App.
    Also Follow TSM on Twitter
    If you need help with any of the above join our Discord. It's much faster than posting

  2. #82
    Hey Bart! I appreciate the response man, but is the answer to my questions simply no? There is no way for me to know there is new AH data available without asking for Realm Items and using up one of my daily requests?

    According to your answer, it sounds like my data can be "stale" (I promise I'm not trying to sound argumentative, I'm just trying to understand so I can use the API to the best of my abilities).

    If I lookup Realm Items and then don't look for another hour, it is possible that the AH data could be updated anytime between when I look the first and second times. I think means my data will have a high probability of being out of date.

    First API request: 12:00
    API Data Updated: 12:45
    Second API request: 1:00 - 15 minutes stale

    First API request: 12:00
    API Data Updated: 12:30
    Second API request: 1:00 - 30 minutes stale

    First API request: 12:00
    API Data Updated: 12:01
    Second API request: 1:00 - 59 minutes stale
    Last edited by jeffctown; April 27th, 2017 at 09:50 PM.

  3. #83
    Ukon's Avatar
    Posts
    80
    Reputation
    5
    Tagged in
    13 Posts
    Add to this user's reputation
    Well, you could alternatively use the developer API to figure out when Blizzard last updated their AH data. I am not sure if TSM updates the data at once when the AH data is available.

    https://dev.battle.net/

    Using the dev APi you would get a response like this with the timestamp for last updated:
    {
    "files": [{
    "url": "http://auction-api-eu.worldofwarcraft.com/auction-data/57304a565824f2d778f9ad106430c98c/auctions.json",
    "lastModified": 1493360858000
    }]
    }
    WoW Crafting and auction tool -> http://wah.jonaskf.net/

  4. #84
    Bart39's Avatar
    Posts
    1,746
    Reputation
    101
    Tagged in
    541 Posts
    Add to this user's reputation
    @jeffctown, no there isn't currently a way to query when it last updated.
    However you need to understand that by the nature of the blizz snapshots they are already potentially stale by the time that even we get them.
    You can either do as Ukon suggested or even just look at the TSM site to figure out your start point - last updated for your realm will work out roughly to be the same minute either hourly for EU or every 2 hours for US
    Sic has joined #TradeSkillMaster
    sic> I love you all. TSM Has given me children.
    sic> That is all.
    Sic has left #TradeSkillMaster

    MuffinPvEHero> and I agree with Bart39

    TSM Application Developer / Assistant Addon Developer

    For information: TSM Website, TSM Addon, TSM App.
    Also Follow TSM on Twitter
    If you need help with any of the above join our Discord. It's much faster than posting

  5. #85
    Thank you for the replies!
    @Ukon - ooh, good suggestion! I was hoping to build only upon the TSM application since it has all of the statistics I am looking for, but you're right - I may have to integrate with the blizzard api too.
    @Bart39 - that sounds doable. I've been digging through the Blizzard API and TSM API docs, and I can't find anything that explains the timing around when each API's data is refreshed. It sounds like you are saying that TSM updates it's data every 1 or 2 hours on the minute, but what do you mean about blizzards data being stale by the time TSM receives it?

  6. #86
    Bart39's Avatar
    Posts
    1,746
    Reputation
    101
    Tagged in
    541 Posts
    Add to this user's reputation
    What I mean is that blizzard creates a snapshot at a certain point in time - that snapshot is then available to be downloaded (could be a few minutes after the timestamp says).
    We poll their Api's looking for the timestamp to change and then download the data ourselves, do our own processing and then make our version of the data available. So by the time all that has happened it could be anywhere up to 30 mins or so later than the timestamp from blizz says "last updated".
    The very nature of a snapshot is it is stale the minute it was created (auction house activity doesn't just stop)
    Sic has joined #TradeSkillMaster
    sic> I love you all. TSM Has given me children.
    sic> That is all.
    Sic has left #TradeSkillMaster

    MuffinPvEHero> and I agree with Bart39

    TSM Application Developer / Assistant Addon Developer

    For information: TSM Website, TSM Addon, TSM App.
    Also Follow TSM on Twitter
    If you need help with any of the above join our Discord. It's much faster than posting

  7. #87
    @Bart39 - totally makes sense man. I really appreciate all the great info.

  8. #88
    Hello,
    I was excited to learn business in WoW.

    Is there any way to download data to Ms. Excel?
    There is option in Excel , Data > From Web.

    I already try this one: http://api.tradeskillmaster.com/v1/i...rne?format=csv
    but got error message

    Thank You

 

 

Similar Threads

  1. [BETA] TSM Web APIs
    By Sapu94 in forum TradeSkillMaster Website & Desktop Application
    Replies: 63
    Last Post: February 28th, 2016, 12:31 PM
  2. [RFC] Public TSM APIs
    By Sapu94 in forum TradeSkillMaster Website & Desktop Application
    Replies: 12
    Last Post: August 28th, 2014, 08:55 PM
  3. TradeSkillMaster 2.0 Public Beta
    By Sapu94 in forum General TradeSkillMaster Discussion
    Replies: 261
    Last Post: August 8th, 2013, 09:09 PM
  4. KR, TW, CN auction house APIs now open apparently
    By ihsw in forum Archive (General)
    Replies: 0
    Last Post: December 18th, 2012, 10:12 AM