I am trying to use the stats api to get information.
stats = api.request(‘stats/accounts/:123456’,{‘entity’:‘LINE_ITEM’, ‘start_time’:‘2017-09-29’, entity_ids: ‘8u94t’,
‘end_time’:‘2017-09-30’,‘granularity’ : ‘TOTAL’, ‘placement’: ‘ALL_ON_TWITTER’ , ‘metric_groups’ :‘ENGAGEMENT’})
stats_info = stats.json()
pprint(stats_info)
The above does not work at all.
I am not actually sure how I would be using to get the information and as well as what entity_ids is and how to find it.