public function __construct($api_key) { parent::__construct(); $this->params = ['key' => $api_key]; }
/** * Authorize requests with a username and token * * @param string $username * @param string $token * @return void */ public function __construct($username, $token) { parent::__construct(); $this->username = $username; $this->token = $token; }