How do I get the values of each key in a json tweepy (Status) file?

0

I have a file inside that the following structure exists, is there a way to access a specific key? For example, I want to get and print the "id_str" (10228272). Each new line (information about tweet) in the file starts with this "Status".

Status(_json={
    'retweet_count':0,
    'favorited':False,
    'entities':{
        'hashtags':[
        ],
        'user_mentions':[
            {
                'id_str':'10228272',
                'name':'YouTube',
                'screen_name':'YouTube',
                'id':10228272,
                'indices':[
                    19,
                    27
                ]
            }
        ],
    
asked by anonymous 30.05.2018 / 23:08

0 answers