-
Notifications
You must be signed in to change notification settings - Fork 0
Initialization
OnCloud edited this page Dec 10, 2024
·
2 revisions
Before making API calls, initialize the client with the required configuration:
import { VirtFusionV1 } from "virtfusion";
const virtfusion = new VirtFusionV1();
const VIRTFUSION_API_HOST = "vf.example.com"; // Hostname of the VirtFusion API server
const VIRTFUSION_API_KEY = "****" // Your API key
virtfusion.init({
host: VIRTFUSION_API_HOST,
token: VIRTFUSION_API_KEY,
useHttps: true,
});
Note
The project is under active development, with features being implemented incrementally. For detailed features support list, please refer to the Roadmap Page.