public static function login($key, $email, $password)
    {
        $params = [
            "username" => $email,
            "password" => $password,
        ];

        $headers = [
            'W-Key' => $key
        ];

        $login = new static();
        $response = $login->makeRequest("login", self::METHOD_POST, $params, $headers);

        return $response;
    }
public static function login($key, $email, $password)
    {
        $params = [
            "username" => $email,
            "password" => $password,
        ];

        $headers = [
            'W-Key' => $key
        ];

        $login = new static();
        $response = $login->makeRequest("login", self::METHOD_POST, $params, $headers);

        return $response;
    }
public static function login ( $ key , $ email , $ password ) { $ params = [ "username" => $ email , "password" => $ password , ] ; $ headers = [ 'W-Key' => $ key ] ; $ login = new static ( ) ; $ response = $ login -> makeRequest ( "login" , self :: METHOD_POST , $ params , $ headers ) ; return $ response ; }
Login helper using developer key and credentials to get back a login response

@param  $key      Developer API key
@param  $email    Email of the user logging in
@param  $password Password of the user
@return
Login helper using developer key and credentials to get back a login response