performQuery() 공개 메소드

Query the Google Analytics Service with given parameters.
public performQuery ( string $viewId, DateTime $startDate, DateTime $endDate, string $metrics, array $others = [] ) : array | null
$viewId string
$startDate DateTime
$endDate DateTime
$metrics string
$others array
리턴 array | null
예제 #1
0
 /**
  * Call the query method on the authenticated client.
  *
  * @param Period $period
  * @param string $metrics
  * @param array  $others
  *
  * @return array|null
  */
 public function performQuery(Period $period, string $metrics, array $others = [])
 {
     return $this->client->performQuery($this->viewId, $period->startDate, $period->endDate, $metrics, $others);
 }