public function getChecks()
	{
		$client = new \Guzzle\Service\Client('https://api.pingdom.com/api/2.0');

		/** @var $request \Guzzle\Http\Message\Request */
		$request = $client->get('checks', array('App-Key' => $this->token));
		$request->setAuth($this->username, $this->password);
		$response = $request->send();
		$response = json_decode($response->getBody(), true);

		return $response['checks'];
	}
public function getChecks()
	{
		$client = new \Guzzle\Service\Client('https://api.pingdom.com/api/2.0');

		/** @var $request \Guzzle\Http\Message\Request */
		$request = $client->get('checks', array('App-Key' => $this->token));
		$request->setAuth($this->username, $this->password);
		$response = $request->send();
		$response = json_decode($response->getBody(), true);

		return $response['checks'];
	}
public function getChecks ( ) { $ client = new \ Guzzle \ Service \ Client ( 'https://api.pingdom.com/api/2.0' ) ; /** @var $request \Guzzle\Http\Message\Request */ $ request = $ client -> get ( 'checks' , array ( 'App-Key' => $ this -> token ) ) ; $ request -> setAuth ( $ this -> username , $ this -> password ) ; $ response = $ request -> send ( ) ; $ response = json_decode ( $ response -> getBody ( ) , true ) ; return $ response [ 'checks' ] ; }
Returns a list overview of all checks

@return array
@throws \Exception
Returns a list overview of all checks