Skip to content

Repository files navigation

@planethoster-oss/api

CI

NPM

NodeJS PlanetHoster API integration.

Please refer to the documentation of the PlanetHoster API for all endpoints details.

Installation

npm install @planethoster-oss/api

Usage

constPhNodeApi=require("@planethoster-oss/api");asyncfunctiontestConnection(api){try{console.log(awaitapi.testConnection());}catch(e){console.log(e);}}constapi=newPhNodeApi({api_key: "API_KEY",api_user: "API_USER",});testConnection(api);

About

NodeJS PlanetHoster api integration

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages