Advertisement
Guest User

d2api upcoming matches api output

a guest
Mar 19th, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.90 KB | None | 0 0
  1. >>> pprint.pprint(upcoming_matches)
  2. [{'comment': '',
  3. 'league': {'active': '0',
  4. 'has_ticket': '0',
  5. 'id': '676',
  6. 'image_url': '',
  7. 'itemdef': '0',
  8. 'league_id': '0',
  9. 'name': 'DotaPit League',
  10. 'slug': ''},
  11. 'link': 'http://dailydota2.com/match/m0ef3ny',
  12. 'series_type': 3,
  13. 'starttime': '2016-03-19 23:30:00',
  14. 'starttime_unix': '1458426600',
  15. 'status': '0',
  16. 'team1': {'country_code': 'us',
  17. 'logo_url': '/images/logos/teams/evilgeniuses.png',
  18. 'score': '0',
  19. 'team_id': '39',
  20. 'team_name': 'Evil Geniuses',
  21. 'team_tag': 'EG'},
  22. 'team2': {'country_code': 'ru',
  23. 'logo_url': '/images/logos/teams/teamempire.png',
  24. 'score': '0',
  25. 'team_id': '46',
  26. 'team_name': 'Team Empire',
  27. 'team_tag': 'Empire'},
  28. 'timediff': '2346',
  29. 'viewers': {'self': '0', 'stream': 69730}},
  30. {'comment': '',
  31. 'league': {'active': '0',
  32. 'has_ticket': '1',
  33. 'id': '695',
  34. 'image_url': '/images/leagues/prodota-cup-by-azubutv.png',
  35. 'itemdef': '16833',
  36. 'league_id': '3511',
  37. 'name': 'ProDotA Cup by Azubutv',
  38. 'slug': ''},
  39. 'link': 'http://dailydota2.com/match/qrprhdc',
  40. 'series_type': 3,
  41. 'starttime': '2016-03-20 00:00:00',
  42. 'starttime_unix': '1458428400',
  43. 'status': '0',
  44. 'team1': {'country_code': 'us',
  45. 'logo_url': '/images/logos/teams/enemygg.png',
  46. 'score': '0',
  47. 'team_id': '2634364',
  48. 'team_name': 'EnemyGG',
  49. 'team_tag': 'NME'},
  50. 'team2': {'country_code': 'pe',
  51. 'logo_url': '/images/logos/teams/33333.png',
  52. 'score': '0',
  53. 'team_id': '1633432',
  54. 'team_name': 'Not Today !',
  55. 'team_tag': 'NoT'},
  56. 'timediff': '4146',
  57. 'viewers': {'self': '0', 'stream': 0}},
  58. {'comment': '',
  59. 'league': {'active': '0',
  60. 'has_ticket': '0',
  61. 'id': '676',
  62. 'image_url': '',
  63. 'itemdef': '0',
  64. 'league_id': '0',
  65. 'name': 'DotaPit League',
  66. 'slug': ''},
  67. 'link': 'http://dailydota2.com/match/lz9rcbi',
  68. 'series_type': 3,
  69. 'starttime': '2016-03-20 10:45:00',
  70. 'starttime_unix': '1458467100',
  71. 'status': '0',
  72. 'team1': {'country_code': 'us',
  73. 'logo_url': '/images/logos/teams/complexitygaming.png',
  74. 'score': '0',
  75. 'team_id': '3',
  76. 'team_name': 'compLexity Gaming',
  77. 'team_tag': 'coL'},
  78. 'team2': {'country_code': 'kr',
  79. 'logo_url': '/images/logos/teams/mvpphoenix.png',
  80. 'score': '0',
  81. 'team_id': '1148284',
  82. 'team_name': 'MVP Phoenix',
  83. 'team_tag': 'MVP.Phoenix'},
  84. 'timediff': '42846',
  85. 'viewers': {'self': '0', 'stream': 0}},
  86. {'comment': '',
  87. 'league': {'active': '0',
  88. 'has_ticket': '1',
  89. 'id': '759',
  90. 'image_url': '/images/leagues/sea-kappa-invitationals.png',
  91. 'itemdef': '16932',
  92. 'league_id': '4471',
  93. 'name': 'SEA Kappa Invitationals',
  94. 'slug': ''},
  95. 'link': 'http://dailydota2.com/match/mvhvgxw',
  96. 'series_type': 3,
  97. 'starttime': '2016-03-20 12:00:00',
  98. 'starttime_unix': '1458471600',
  99. 'status': '0',
  100. 'team1': {'country_code': '',
  101. 'logo_url': '/images/logos/teams/fnatic.png',
  102. 'score': '0',
  103. 'team_id': '350190',
  104. 'team_name': 'Fnatic',
  105. 'team_tag': 'Fnatic'},
  106. 'team2': {'country_code': 'ph',
  107. 'logo_url': '/images/logos/teams/rave.png',
  108. 'score': '0',
  109. 'team_id': '1366458',
  110. 'team_name': 'R a v e',
  111. 'team_tag': 'Rave'},
  112. 'timediff': '47346',
  113. 'viewers': {'self': '0', 'stream': 0}},
  114. {'comment': '',
  115. 'league': {'active': '0',
  116. 'has_ticket': '1',
  117. 'id': '695',
  118. 'image_url': '/images/leagues/prodota-cup-by-azubutv.png',
  119. 'itemdef': '16833',
  120. 'league_id': '3511',
  121. 'name': 'ProDotA Cup by Azubutv',
  122. 'slug': ''},
  123. 'link': 'http://dailydota2.com/match/23vp1bs',
  124. 'series_type': 3,
  125. 'starttime': '2016-03-20 16:00:00',
  126. 'starttime_unix': '1458486000',
  127. 'status': '0',
  128. 'team1': {'country_code': 'ru',
  129. 'logo_url': '',
  130. 'score': '0',
  131. 'team_id': '2256576',
  132. 'team_name': 'Yes! Ember Spirit',
  133. 'team_tag': 'YES'},
  134. 'team2': {'country_code': 'kh',
  135. 'logo_url': '/images/logos/teams/theblingempire.png',
  136. 'score': '0',
  137. 'team_id': '1379666',
  138. 'team_name': 'TheBlingEmpire',
  139. 'team_tag': 'TBE'},
  140. 'timediff': '61746',
  141. 'viewers': {'self': '1', 'stream': 0}},
  142. {'comment': '',
  143. 'league': {'active': '0',
  144. 'has_ticket': '1',
  145. 'id': '695',
  146. 'image_url': '/images/leagues/prodota-cup-by-azubutv.png',
  147. 'itemdef': '16833',
  148. 'league_id': '3511',
  149. 'name': 'ProDotA Cup by Azubutv',
  150. 'slug': ''},
  151. 'link': 'http://dailydota2.com/match/h4p7xqb',
  152. 'series_type': 3,
  153. 'starttime': '2016-03-20 19:00:00',
  154. 'starttime_unix': '1458496800',
  155. 'status': '0',
  156. 'team1': {'country_code': 'pl',
  157. 'logo_url': '/images/logos/teams/teamalternateattax.png',
  158. 'score': '0',
  159. 'team_id': '2246141',
  160. 'team_name': 'Team Alternate Attax',
  161. 'team_tag': 'ATN'},
  162. 'team2': {'country_code': 'br',
  163. 'logo_url': '/images/logos/teams/darthsbrothers.png',
  164. 'score': '0',
  165. 'team_id': '1775835',
  166. 'team_name': 'DARTHS BROTHERS',
  167. 'team_tag': 'DB'},
  168. 'timediff': '72546',
  169. 'viewers': {'self': '0', 'stream': 0}}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement