### DOCUMENTATION OF MATCH API ON DAILYDOTA2.COM # Simply call the following URL to retrieve the current match schedule: http://dailydota2.com/match-api # The API returns the following structure in JSON format: matches: link # url of match-page team1: team_tag # Short version of team name. Should be used for display. team_name # Long version of team name. logo_url # image url of team logo. Add http://dailydota2.com in front. country_code # NEW: COUNTY FLAG IMAGE: http://dailydota2.com/images/cc/.png score # number of wins in a bo x match winner # boolean if match was won for this team team2: team_tag # Short version of team name. Should be used for display. team_name # Long version of team name. logo_url # image url of team logo. Add http://dailydota2.com in front. country_code # NEW: COUNTY FLAG IMAGE: http://dailydota2.com/images/cc/.png score # number of wins in a bo x match winner # boolean if match was won for this team status # 0 is upcoming or no live-stats available, 1 is live with stats available. series_type # Series of games played, Best of x starttime # start date in YYYY-MM-DD HH:MM:SS in CEST starttime_unix # start date in unixtime in CEST too timediff # time diff in seconds. Is negative when starttime has past. league: id # internal id league_id # valve league id name # league name image_url # image url of league image has_ticket # boolean wether there will be live-stats or not viewers: # NEW! only makes sense to display for live (status=1) matches. otherwise the stream viewers might be from another game stream # viewers for twitch stream (or zero when game is not streamed on twitch) self # viewers on dailydota2 comment # Rarely given, we only add comments if admins give defwins. timestamp # current unix (server) time of request # written by Gregor Krambs (/u/grex__)