I have been away from the coding scene for a bit and trying to get my head back into the game. Here I am going to show an example. Let’s say I have this piece of text that is returned to me when I enter a certain url (Example: http://api.steampowered.com/ISteamUserStats/GetUserStatsForGame/v0002/?appid=730&key=KEY&steamid=STEAMID":
{
"playerstats": {
"steamID": "7656-EDITED-OUT",
"gameName": "ValveTestApp260",
"stats": [
{
"name": "total_kills",
"value": 110527
},
{
"name": "total_deaths",
"value": 95930
},
{
"name": "total_time_played",
"value": 5784386
},
{
"name": "total_planted_bombs",
"value": 2726
},
{
"name": "total_defused_bombs",
"value": 594
},
{
"name": "total_wins",
"value": 26937
},
...
]
}
}
How would I take this information from the website and set it as a variable so I can put it in my website?
Thanks!