Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ngcodex/ngcodex_server
- Owner: NGcodeX
- License: mit
- Created: 2023-05-08T18:38:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-04T09:58:36.000Z (10 months ago)
- Last Synced: 2024-03-04T11:06:14.552Z (10 months ago)
- Language: TypeScript
- Size: 2.52 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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. THANKSNGcodeX 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);
```