dota2-radiant
Version:
Radiant: a small little library/framework for building awesome apps backed by the Dota 2 WebAPI. Utilizes Node with Express
33 lines (32 loc) • 1.07 kB
HTML
<h1>Match {{match_id}}</h1>
<h3>{{#radiant_win}}Radiant Victory{{/radiant_win}}{{^radiant_win}}Dire Victory{{/radiant_win}}</h3>
<p>Game mode: {{game_mode}} | Start time: {{start_time}} | Duration: {{duration}}</p>
<p>Sequence number: {{match_seq_num}}</p>
<p>Time until first blood: {{first_blood_time}} | Humans: {{human_players}}</p>
<p>{{positive_votes}} upvotes ~ {{negative_votes}} downvotes</p>
<table class="table table-striped">
<thead>
<tr>
<th>Slot</th>
<th>Account ID</th>
<th>Hero</th>
<th>Level</th>
<th>K/D/A</th>
<th>Gold (gpm)</th>
<th>Last Hits (denies)</th>
</tr>
</thead>
<tbody>
{{#players}}
<tr>
<td>{{player_slot}}</td>
<td>{{account_id}}</td>
<td>{{hero_id}}</td>
<td>{{level}}</td>
<td>{{kills}}/{{deaths}}/{{assists}}</td>
<td>{{gold}} <small>({{gold_per_min}})</small></td>
<td>{{last_hits}} Last Hits ({{denies}})</td>
</tr>
{{/players}}
</tbody>
</table>