Error when trying to query the json, but I always get the same error ERROR - 'meta'

34 views Asked by At
{
"droplets": [],
"links": {},
"meta": {
"total": 3
}

I would like to receive this 'total: 3', through json, I tried this way

        totals = droplet_response.json()
        tt = totals['meta']['total']

and he returned this to me

ERROR - 'meta'
0

There are 0 answers