1.0.6 • Published 2 years ago

ph-node-api v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

ph-node-api

NPM

NodeJS PlanetHoster API integration.

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

Installation

npm install ph-node-api

Usage

const PhNodeApi = require('ph-node-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);
1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago