### Install PlanetHoster Node API Source: https://github.com/planethoster/ph-node-api/blob/main/README.md Install the @planethoster-oss/api package using npm. ```bash npm install @planethoster-oss/api ``` -------------------------------- ### Connect and Test PlanetHoster API Source: https://github.com/planethoster/ph-node-api/blob/main/README.md Initialize the PlanetHoster API client with your credentials and test the connection. Ensure you replace 'API_KEY' and 'API_USER' with your actual credentials. ```javascript const PhNodeApi = require("@planethoster-oss/api"); async function testConnection(api) { try { console.log(await api.testConnection()); } catch (e) { console.log(e); } } const api = new PhNodeApi({ api_key: "API_KEY", api_user: "API_USER", }); testConnection(api); ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.