使用PHP解析Bungie Clan数据

时间:2017-09-26 01:39:26

标签: php json

我能够用PHP解析来自多个来源的json数据,但似乎无法弄清楚Bungie的json数据,特别是部落成员。我花了几个小时谷歌搜索并尝试作为数组,作为对象等。

以下是前2个用户的示例(是的公共数据)。如果任何PHP json解析领主可以帮助我使用最少的示例代码工作代码我确定我可以运行它。

    {"Response":{"results":[{"memberType":2,"isOnline":false,"groupId":"913961","destinyUserInfo":{"iconPath":"/img/theme/destiny/icons/icon_xbl.png","membershipType":1,"membershipId":"4611686018442185846","displayName":"Gim Allon"},"bungieNetUserInfo":{"supplementalDisplayName":"Gim Allon","iconPath":"/img/profile/avatars/s_tbagjx8.gif","membershipType":254,"membershipId":"3025645","displayName":"Gim Allon"},"joinDate":"2016-06-18T23:05:59Z"},{"memberType":2,"isOnline":true,"groupId":"913961","destinyUserInfo":{"iconPath":"/img/theme/destiny/icons/icon_xbl.png","membershipType":1,"membershipId":"4611686018434168228","displayName":"speedyred8"},"bungieNetUserInfo":{"supplementalDisplayName":"7734728","iconPath":"/img/profile/avatars/bungie_day_15_26.jpg","membershipType":254,"membershipId":"7734728","displayName":"speedyred8"},"joinDate":"2017-05-15T01:06:17Z"},{"memberType":2,"isOnline":false,"groupId":"913961","destinyUserInfo":{"iconPath":"/img/theme/destiny/icons/icon_xbl.png","membershipType":1,"membershipId":"4611686018434232581","displayName":"Fall3N KnighT"},"bungieNetUserInfo":

0 个答案:

没有答案