src/ShakeAround/Stats.php
public function deviceSummary(array $deviceIdentifier, $beginDate, $endDate)
    {
        $params = [
            'device_identifier' => $deviceIdentifier,
            'begin_date' => $beginDate,
            'end_date' => $endDate,
        ];

        return $this->parseJSON('json', [self::API_DEVICE, $params]);
    }
public function deviceSummary(array $deviceIdentifier, $beginDate, $endDate)
    {
        $params = [
            'device_identifier' => $deviceIdentifier,
            'begin_date' => $beginDate,
            'end_date' => $endDate,
        ];

        return $this->parseJSON('json', [self::API_DEVICE, $params]);
    }
public function deviceSummary ( array $ deviceIdentifier , $ beginDate , $ endDate ) { $ params = [ 'device_identifier' => $ deviceIdentifier , 'begin_date' => $ beginDate , 'end_date' => $ endDate , ] ; return $ this -> parseJSON ( 'json' , [ self :: API_DEVICE , $ params ] ) ; }
Fetch statistics data by deviceId.

@param array $deviceIdentifier
@param int   $beginDate        (Unix timestamp)
@param int   $endDate          (Unix timestamp)

@return \EasyWeChat\Support\Collection
Fetch statistics data by deviceId .