0
私はInstagramのから得る応答である:解析JSONここ
{"data": {"id": "###########", "bio": "Some text", "full_name": "Full Name", "profile_picture": "https://something.jpg", "website": "", "username": "username", "counts": {"followed_by": 139, "media": 38, "follows": 374}}, "meta": {"code": 200}}
私はfollowed_by番号を取得したいので、私は私が使用するだろうと思った:
var["data"]["counts"]["followed_by"]
しかし、これは私にこれを提供しますエラー:
indices must be integers
私は間違っていますか?私が使用するはずです
for key, values in var.interitems:
回答はおそらくあなたが提供したもののようなオブジェクトのリストですか? – FamousJameous