steam


Steam User data


i have little background on HTML and JavaScript and starting understanding JSON.
I want to request a json file like code below using input the steam id. Then display it, i can handle the css of the display, i just want to know how to request and set as a data for my webpage.
Many thanks.
{
"response": {
"players": [
{
"steamid": "76561198090994771",
"communityvisibilitystate": 3,
"profilestate": 1,
"personaname": "DOƝ JU∀Ɲ™",
"lastlogoff": 1418296775,
"profileurl": "http://steamcommunity.com/id/donjuanz/",
"avatar": "http://cdn.akamai.steamstatic.com/steamcommunity/public/images/avatars/0e/0e5a6a7df4729fe51f58810d78b11196a16dacaa.jpg",
"avatarmedium": "http://cdn.akamai.steamstatic.com/steamcommunity/public/images/avatars/0e/0e5a6a7df4729fe51f58810d78b11196a16dacaa_medium.jpg",
"avatarfull": "http://cdn.akamai.steamstatic.com/steamcommunity/public/images/avatars/0e/0e5a6a7df4729fe51f58810d78b11196a16dacaa_full.jpg",
"personastate": 1,
"realname": "DON JUANZ",
"primaryclanid": "103582791436871754",
"timecreated": 1368034529,
"personastateflags": 0,
"loccountrycode": "GB"
}
]
}
}
I think you're looking for the GetPlayerSummaries method on the Steam API.
Requesting JSON from that API can be done with simple HTTP requests, but you'll need to first register an API key with Steam.
The techniques for making an HTTP request in server code will vary depending on the server languages/frameworks involved.
(Using the key and making the request in javascript code is not recommended, since that would allow others to hijack your key. The typical practice is to have code on your web server make the HTTP request to Steam's API when needed.)

Related Links

When using the Steam browser protocol, how does Steam locate the .exe to invoke?
Steam Web API - User Stats - Failed Validation
How does steam opens before the game?
Steam Top 10 Games by Player Count API Call
item_type in steam community market
Undefined variable: setup and Fatal error: Call to a member function setup()
Get regional applications restrictions using Steam API
Javascript command for clicking a button on Steam
Steam API, All the comments and commented date for a game
Steam : I need to add other option in game menu for resolution
Certain steam games keep crashing my computer
How to get a list of active buy orders for the steam market?
Steam API endpoint to leave groups?
Steam set user status
Steam API: How to get players in current game?
Windows script that pushes button? info? anything?

Categories

HOME
batch-processing
erlang
wsdl
textwatcher
decorator
visualization
ruby-on-rails-3
h2
apache2
ext.net
dataframe
tizen-wearable-sdk
data-science-experience
actionscript-2
flexbox
keystore
pjsip
ndis
intellij-plugin
uiview
equalizer
cloudflare
spring-cloud-config
zoomcharts
sonarqube-msbuild-runner
os161
extractor
qsub
fabric
python-textprocessing
metis
mef2
ab-initio
vcard
dpi
gzip
crt
stocks
canvasjs
qtablewidget
rhino
swagger-editor
freetts
linq-to-entities
polyfills
lexical-analysis
ideone
number-theory
jenkins-jira-trigger
mbaas
emoticons
sqlexception
verbose
master
excon
asteriskami
image-editing
web-essentials
hyperthreading
visual-studio-code
achartengine
hiera
sysctl
errorprovider
livechat
x-ua-compatible
google-admin-audit-api
formvalidation-plugin
io.js
colt
cppdepend
lumx
reserved-words
bounds
anjuta
xenocode
hamsterdb
exiv2
java.util.date
leptonica
dllexport
stagefright
multiple-conditions
client-side-scripting
soa-suite
mvs
usn
surf
posting
trampolines
outlook-form
associativity

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App