Since there seemed to be a fair bit of demand, I have created a simple API to access match and player data. The API is currently a WORK IN PROGRESS. That means that I don't have the most recent matches yet (currently there are about a million matches in the db). Additionally, there aren't too many parameters you can specify. The data is returned JSON encoded. Let me know if you would like XML for backwards compatibility with the old API.
Here is the json returned from the first API call, but in formatted form:
If you like would to contribute, feel free to submit a pull request on github:
Over the next few weeks the API should catch up and not be more than an hour behind the latest matches. Please let me know what features you would like to see. Additionally, feel free to ask questions about the returned parameters (Note that I don't necessarily know what each param means).
Last edited by vapor1zer; 09-06-2012 at 10:08 PM.
They should either let the master server be scraped, or give us an API to use. I'm not putting that much load on their server anyway, or else I would have likely been blocked long ago.
All API calls hit my OWN server and database. It doesn't matter if 1000x more people start using this; thats the whole point.
I have some good news, and some bad news; I'll start with the bad news. We do not currently allow third parties to scrape the master server for stats, and this project is technically against the rules.
The good news is an official S2 HoN API will be launching in the near future (currently in beta testing!) to replace the very defunct XML interface! Stay tuned in the coming weeks for more information on this.
Official Canadian of S2Games' Online Systems Department
Hey Maide, you have said an updated API has been coming for MONTHS(year?) now, with no word on the progress or updates. Frankly, I think the community should take what you say with a grain of salt, because so far all we have been filled with is disappointment regarding the API. Either provide an actual, REAL update on the information you have, or let this guy have his project fun until s2 figures it out on their end. You scrap community projects like this while providing no alternative. The only "good news" you gave us was information rehashed that we've been aware of since you first took down stats.maide.ca.
Forum Moderators are not S2 Games employees. My posts in no way represent the view of S2 Games or any of its staff.
Please use the report post function to have me review a post that you believe is breaking the Forum Rules.
Check the Sticky Threads for additional information on this sub-forum and the Announcement Threads for more information about Heroes of Newerth as a whole!
meh :/ was gonna be awesome, but Maide said there is a HoN API S2 in progress, lets see.
My milkshake brings all the boys to the yard.
I'd love to create an Android App for HoN Stats if there was some proper way to communicate with their servers.
and another one who doesn't know how the API works that the guy is building. Hint: It's causing nearly no load on S2's server at all.