I'm getting this object array as a response from the temboo fitbit api. This is the print_r($result)
output:
Fitbit_Statistics_GetTimeSeriesByDateRange_Results Object ( [outputArray:protected] => Array ( [Response] => {"activities-log-steps":[{"dateTime":"2015-12-30","value":"129"}]} ) [lowercaseKeyMap:protected] => Array ( [response] => Response ) )
How do I access the value
attribute of this object?
我发现temboo具有访问结果的方法:
getTimeSeriesByDateRangeResults->getResponse()
Just do
$result->getResponse();
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.