我将此对象数组作为来自temboo fitbit api的响应。这是print_r($result)
输出:
Fitbit_Statistics_GetTimeSeriesByDateRange_Results Object ( [outputArray:protected] => Array ( [Response] => {"activities-log-steps":[{"dateTime":"2015-12-30","value":"129"}]} ) [lowercaseKeyMap:protected] => Array ( [response] => Response ) )
如何访问此对象的value
属性?
答案 0 :(得分:1)
我发现temboo有方法可以访问结果:
getTimeSeriesByDateRangeResults->getResponse()
答案 1 :(得分:0)