2017-05-09, 20:16
(2017-05-09, 16:37)axlt2002 Wrote: Basically, which is the code/syntax to save in a local variable (e.g. IMDb_id) the received tt4574334 value? I have tried the following code but the result in IMDb_id is None:jSonResponse.result.tvshows["0"].uniqueid.imdb
Code:for item in jSonResponse['result']['tvshows']:
IMDb_id = item.get('uniqueid[0]')
Thanks for any help...and sorry for the stupid question, but I'm just facing JSON and python for the first time!
or
jSonResponse.["result"]["tvshows"][0]["uniqueid"]["imdb"]