Using an api call I'm fetching a range of data objects stored within an array however I only want to print out some of the objects returned.
All of the data is stored within the $mail
variable. I'm looking to access delivered for example would it be something like $mail->delivered
This is the sample data returned -
"""
[
{
"count_purchased": 0,
"delivered": 1,
"clicked_unique": 0,
"shared": 0,
"mailings": 1,
"year": 2016,
"month": 9,
"opened": 1,
"opted_out": 0,
"sent": 1,
"signed_up": 0,
},
{
"count_purchased": 0,
"delivered": 56,
"clicked_unique": 0,
"shared": 0,
"mailings": 31,
"year": 2016,
"month": 9,
"opened": 1,
"opted_out": 0,
"sent": 102,
"signed_up": 0,
}
]