originally posted in:BungieNetPlatform
View Entire Topic
Hi guys, I'm relatively new to playing with APIs, and I'm trying to pull data from this endpoint, containing my own membership ID: http://www.bungie.net/Platform/Destiny/TigerXbox/Account/4611686018430866326/. Would anybody know how to use Python to pull the integer listed for 'progressionHash'? I've tried a number of different things, but I can't seem to nail it down. I figured it would be something like this:
data['Response']['data']['characters']['levelProgression'][5]['currentProgress']
But that just yields an error. Would anyone with a little more experience be able to tell me what exactly I'm doing wrong? I'd love to get the syntax down for this.
English
-
If you still cant find the problem [spoiler] http://i57.tinypic.com/5yvxc9.png The 'characters' holds an index for each character, you try to skip this part which will return the error of a undefined data part [/spoiler]