Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ngcodex/ngcodex_server

✔NGcodeX also has a hosting side that allows you to deploy your projects. Be the first to contribute to and benefit from a free deployment. THANKS
https://github.com/ngcodex/ngcodex_server

Last synced: about 2 months ago
JSON representation

✔NGcodeX also has a hosting side that allows you to deploy your projects. Be the first to contribute to and benefit from a free deployment. THANKS

Awesome Lists containing this project

README

        



# NGcodeX_Server
✔NGcodeX also has a hosting side that allows you to deploy your projects. Be the first to contribute to and benefit from a free deployment. THANKS

NGcodeX site under development

# ph-node-api

[![CircleCI](https://dl.circleci.com/status-badge/img/gh/PlanetHoster/ph-node-api/tree/main.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/PlanetHoster/ph-node-api/tree/main)

[![NPM](https://nodei.co/npm/ph-node-api.png)](https://nodei.co/npm/ph-node-api/)

NodeJS NGcodeX_PlanetHoster API integration.

Please refer to the documentation of the [NGcodeX-PlanetHoster API](https://apidoc.planethoster.com/) for all endpoints details.

## Installation
```
npm install ph-node-api
```

## Usage
```javascript
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);
```