I'm trying to iterate a dictionary that is into another dictionary to get 2 values (content and completed_date) of each set but I don't know how to do it. This is the data:
{
'items':[
{
'content':'Get a solution for the server @connect',
'meta_data':None,
'user_id':20440353,
'task_id':3186948449,
'project_id':2203217746,
'completed_date':'Tue 07 May 2019 18:31:47 +0000',
'id':3186948449
},
{
'content':'Fix the Placement test based on the feedback @connect',
'meta_data':None,
'user_id':20440353,
'task_id':3186363895,
'project_id':2203217746,
'completed_date':'Tue 07 May 2019 14:52:27 +0000',
'id':3186363895
}
],
'projects':{
}
}
This is what I've been trying:
>>> for items in itstuff_data['items']:
... print(items)
...
But is giving me everything inside of 'items' (as expected). Is there a way to iterate the data to get just content and completed_date?