API呼び出しの使用配列内に格納された一連のデータオブジェクトを取得していますが、返されるオブジェクトの一部のみを出力したいだけです。配列内の明示的オブジェクトへのアクセス
すべてのデータは、$mail
変数に格納されます。
"""
[\n
{\n
"count_purchased": 0,\n
"delivered": 1,\n
"clicked_unique": 0,\n
"shared": 0,\n
"mailings": 1,\n
"year": 2016,\n
"month": 9,\n
"opened": 1,\n
"opted_out": 0,\n
"sent": 1,\n
"signed_up": 0,\n
},\n
{\n
"count_purchased": 0,\n
"delivered": 56,\n
"clicked_unique": 0,\n
"shared": 0,\n
"mailings": 31,\n
"year": 2016,\n
"month": 9,\n
"opened": 1,\n
"opted_out": 0,\n
"sent": 102,\n
"signed_up": 0,\n
}\n
]
:私たちはそれを道にアクセスする前に、いくつかの作業を行う必要があるので、
あなたの応答は、あなたがそれをしたい、複数のオブジェクトを返しますか? –