Some time ago I created an API that scrapes the GosuGamers site and produces nice JSON data for you to consume. I'm gonna post it here along with the iOS app based on that API that got rejected from the app store because it was "too close to the browsing experience".
The API also has a synchronization feature that pushes notifications to all clients via Apple Push Notification Service.
API source code: https://github.com/e.../gosugamers-api
iOS client source code: https://github.com/e.../gosugamers-ios
Hosted API on Heroku: http://gosugamers-api.heroku.com
The REST endpoints to the API are:
GET /news
GET /replays
GET /matches
All endpoints accept two optional parameters:
page -> can be any positive number, used for pagination
game -> can be one of these values: starcraft, starcraft2, warcraft, dota, dota2, hon, wow, diablo, poker
Example request: http://gosugamers-ap...me=dota2&page=2
I don't even know if this is illegal (I couldn't find GousGamers ToS or Privacy Policy anywhere, so please point it to me if you can).
Hope you can use it anyway you want.
GosuGamers API
Started by
Aveil
, Apr 28 2012 08:47 AM
7 replies to this topic
#6
Posted 27 May 2012 - 09:23 AM
#4 Thank you for showing interest in the API and for your feedback 
If you watch carefully the "eta" attribute is there for all the matches. Too bad it's wrong for all of them! I think something changed in the HTML (probably GG.net added a column to the table) so the scraping method is not working correctly anymore. I will try to fix this next week or this evening.
As for the country, I think that would be fairly easy to add. I really don't know why I didn't in the first place, since all the flags are there in the GosuBet list (e.g.: http://gosugamers.ne...ubet/upcoming/1).
If you watch carefully the "eta" attribute is there for all the matches. Too bad it's wrong for all of them! I think something changed in the HTML (probably GG.net added a column to the table) so the scraping method is not working correctly anymore. I will try to fix this next week or this evening.
As for the country, I think that would be fairly easy to add. I really don't know why I didn't in the first place, since all the flags are there in the GosuBet list (e.g.: http://gosugamers.ne...ubet/upcoming/1).
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











