public function getResults($checkId, $limit = 100, array $probes = null)
	{
		$client = new \Guzzle\Service\Client('https://api.pingdom.com/api/2.0');

		/** @var $request \Guzzle\Http\Message\Request */
		$request = $client->get('results/' . $checkId, array('App-Key' => $this->token));
		$request->setAuth($this->username, $this->password);
		$request->getQuery()->set('limit', $limit);

		if (is_array($probes)) {
			$request->getQuery()->set('probes', implode(',', $probes));
		}

		$response = $request->send();
		$response = json_decode($response->getBody(), true);

		return $response['results'];
	}
public function getResults($checkId, $limit = 100, array $probes = null)
	{
		$client = new \Guzzle\Service\Client('https://api.pingdom.com/api/2.0');

		/** @var $request \Guzzle\Http\Message\Request */
		$request = $client->get('results/' . $checkId, array('App-Key' => $this->token));
		$request->setAuth($this->username, $this->password);
		$request->getQuery()->set('limit', $limit);

		if (is_array($probes)) {
			$request->getQuery()->set('probes', implode(',', $probes));
		}

		$response = $request->send();
		$response = json_decode($response->getBody(), true);

		return $response['results'];
	}
public function getResults ( $ checkId , $ limit = 100 , array $ probes = null ) { $ client = new \ Guzzle \ Service \ Client ( 'https://api.pingdom.com/api/2.0' ) ; /** @var $request \Guzzle\Http\Message\Request */ $ request = $ client -> get ( 'results/' . $ checkId , array ( 'App-Key' => $ this -> token ) ) ; $ request -> setAuth ( $ this -> username , $ this -> password ) ; $ request -> getQuery ( ) -> set ( 'limit' , $ limit ) ; if ( is_array ( $ probes ) ) { $ request -> getQuery ( ) -> set ( 'probes' , implode ( ',' , $ probes ) ) ; } $ response = $ request -> send ( ) ; $ response = json_decode ( $ response -> getBody ( ) , true ) ; return $ response [ 'results' ] ; }
Return a list of raw test results for a specified check

@param int        $checkId
@param int        $limit
@param array|null $probes
@return array
Return a list of raw test results for a specified check