2014-02-05 16:37:48 +00:00
|
|
|
extends ../layout
|
|
|
|
|
|
|
|
block content
|
|
|
|
.page-header
|
|
|
|
h2
|
|
|
|
i.fa.fa-gamepad
|
|
|
|
| Steam Web API
|
|
|
|
|
|
|
|
.btn-group.btn-group-justified
|
|
|
|
a.btn.btn-primary(href='https://developer.valvesoftware.com/wiki/Steam_Web_API', target='_blank')
|
|
|
|
i.fa.fa-check-square-o
|
2014-02-06 08:51:06 +00:00
|
|
|
| API Overview
|
|
|
|
|
|
|
|
br
|
|
|
|
|
|
|
|
.alert.alert-info
|
|
|
|
strong Steam ID
|
2014-02-06 08:54:26 +00:00
|
|
|
p Displaying public information for Steam ID #{playerSummary.steamid}.
|
2014-02-06 00:30:00 +00:00
|
|
|
|
2014-02-06 00:39:31 +00:00
|
|
|
h3 Profile Information
|
2014-02-06 08:51:06 +00:00
|
|
|
.row
|
|
|
|
.col-sm-2
|
2014-02-06 08:54:26 +00:00
|
|
|
img(src='#{playerSummary.avatarfull}', width='92', height='92')
|
2014-02-06 08:51:06 +00:00
|
|
|
.col-sm-8
|
2014-02-06 08:54:26 +00:00
|
|
|
span.lead #{playerSummary.personaname}
|
|
|
|
div Account since: #{new Date(playerSummary.timecreated * 1000)}
|
|
|
|
div Last Online: #{new Date(playerSummary.lastlogoff * 1000)}
|
2014-02-06 08:51:06 +00:00
|
|
|
div Online Status:
|
2014-02-06 08:54:26 +00:00
|
|
|
if playerSummary.personastate == 1
|
2014-02-06 08:51:06 +00:00
|
|
|
strong.text-success Online
|
|
|
|
else
|
|
|
|
strong.text-danger Offline
|
|
|
|
|
|
|
|
h3 #{playerAchievemments.gameName} Achievements
|
2014-02-06 00:30:00 +00:00
|
|
|
ul.lead.list-unstyled
|
|
|
|
for achievement in playerAchievemments.achievements
|
|
|
|
if achievement.achieved
|
|
|
|
li.text-success= achievement.name
|
2014-02-06 00:39:31 +00:00
|
|
|
|
|
|
|
h3 Owned Games
|
2014-02-06 04:27:13 +00:00
|
|
|
ul.list-unstyled.list-inline
|
2014-02-06 00:39:31 +00:00
|
|
|
for game in ownedGames
|
2014-02-06 07:51:16 +00:00
|
|
|
li.thumb
|
2014-02-06 04:27:13 +00:00
|
|
|
a(href='http://store.steampowered.com/app/#{game.appid}/')
|
|
|
|
img(src='http://media.steampowered.com/steamcommunity/public/images/apps/#{game.appid}/#{game.img_logo_url}.jpg' width="92")
|
2014-02-06 00:39:31 +00:00
|
|
|
|