Steam のページから URL を取得しようとしています。これを使用して、アクセスしたユーザーの写真の URL を取得しています。ユーザーの情報を尋ねると、Steam が提供するコードは次のとおりです。
{
"response": {
"players": [
{
"steamid": "76561xxxxxxxxx",
"communityvisibilitystate": 3,
"profilestate": 1,
"personaname": "xxxxx",
"lastlogoff": 1402722290,
"profileurl": "http://steamcommunity.com/id/xxxxxxxxxx/",
"avatar": "http://media.steampowered.com/steamcommunity/public/images/avatars/f1/f1dd6xxxxxxxxxx883caxxxxxe6abaxxxxxxx32d4.jpg",
"avatarmedium": "http://media.steampowered.com/steamcommunity/public/images/avatars/f1/fxxxxxxxxxxx83caf82xxxfexxxxxxxxxxaf1732d4_medium.jpg",
"avatarfull": "http://media.steampowered.com/steamcommunity/public/images/avatars/f1/f1dxxxxxxxx88883caf82xxxxfccfexxxxxxxxx732d4_full.jpg",
"personastate": 0,
"realname": "xxxxx Walker",
"primaryclanid": "103582xx142952xxxx",
"timecreated": 1063407589,
"personastateflags": 0,
"loccountrycode": "US",
"locstatecode": "WA",
"loccityid": 3961
}
]
}
私が取得しようとしているのは の URL ですが"avatar":
、これには少し慣れていません。
<div>
URL を取得した後、名前などの他の情報と一緒に配置したいと考えています。今すぐ助けていただければ幸いです。