1. May 21, 2020  

    Request to obtain API docs

    Hi there,

    I am a player from the Icecrown server who wishes to make a data visualisation of the player base in Warmane (as an effort to build my portfolio). I have been trying to find documentation regarding the Warmane API, and I could not find information on how I can obtain data on all the players in Icecrown.

    Am I allowed to access the documentation for the API (if there is any)?

  2. May 21, 2020  
    Everything you can get is described here:
    http://forum.warmane.com/showthread.php?t=383159

    There is no way to directly get a full list of characters if that's what you are looking for.

  3. May 21, 2020  
    I haven't noticed any rate limiters and there's no rate limit headers set so you could (not that you should) just brute force that. Names can't be 1 letter, they can't have 3 same letters in a row, they can't have numbers, case insensitive, maximum length is like 12, 16 at most, don't have the client handy.
    Even if there's no limiters in place, you should limit it to something reasonable, 20 per second is well bellow "I'm a dick" bar. Other than that there's no other way to get player names. As with all things, don't abuse anything and I don't think anyone would mind. Cloudflare might flag you as a crawler/spammer so this may not work, I haven't tried it, don't need it.

    As a side note, it would be great if we could only obtain some data. Like if you're checking class ratios, levels, races and factions, you don't need all of the data about gear and professions. Filters would be very nice to have.
    Edited: May 21, 2020

  4. May 21, 2020  
    I haven't noticed any rate limiters and there's no rate limit headers set so you could (not that you should) just brute force that. Names can't be 1 letter, they can't have 3 same letters in a row, they can't have numbers, case insensitive, maximum length is like 12, 16 at most, don't have the client handy.

    Even if there's no limiters in place, you should limit it to something reasonable, 20 per second is well bellow "I'm a dick" bar. Other than that there's no other way to get player names. As with all things, don't abuse anything and I don't think anyone would mind. Cloudflare might flag you as a crawler/spammer so this may not work, I haven't tried it, don't need it.

    As a side note, it would be great if we could only obtain some data. Like if you're checking class ratios, levels, races and factions, you don't need all of the data about gear and professions. Filters would be very nice to have.
    There is a limit for the API. Or at least was when I last tried using it. I think it was about 1 request per 2-3 seconds. Which makes it unusable for anything like this. Armory itself doesn't have a rate limit so scraping HTML might be an option. Cloudflare doesn't seem to be an issue for this but I am not sure what Warmane staff thinks about this option.

    Brute forcing names is not going to work either. According to my calculations, if we take just 6 letter names, there are about 300 million combinations (a bit less if you remove invalid names). At 20 requests per second, it would take about 170 days.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •