Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ferdiozer/hetzner-cloud-api-js
Hetzner cloud api with node js
https://github.com/ferdiozer/hetzner-cloud-api-js
cloud getserver node-js nodejs server
Last synced: about 1 month ago
JSON representation
Hetzner cloud api with node js
- Host: GitHub
- URL: https://github.com/ferdiozer/hetzner-cloud-api-js
- Owner: ferdiozer
- License: mit
- Created: 2020-08-29T21:40:12.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-31T14:23:24.000Z (over 2 years ago)
- Last Synced: 2024-10-01T19:15:43.196Z (about 2 months ago)
- Topics: cloud, getserver, node-js, nodejs, server
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/hetzner-cloud-api
- Size: 24.4 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[![NPM](https://nodei.co/npm/hetzner-cloud-api.png)](https://npmjs.org/package/hetzner-cloud-api)
# What is this?
API to manage your server with node js
### Remotely manage your server with node js## How to use
# Create Account
https://hetzner.cloud/?ref=Fm9TTCZkqtj1# How do i get the key?
https://console.hetzner.cloud/projects/"your project id"/security/tokens
->GENERATE API TOKEN this your API KEY# Installation
`npm i hetzner-cloud-api --save`
Then...
```
const Cloud = require('hetzner-cloud-api');
const client = new Cloud("your API KEY");//example
client.getServers().then(servers=>{
console.log(servers)
}).catch(err=>{
console.log(err)
})
```# Functions
## Server
getServers, createServer, getServer, updateServer, deleteServer, getServerMetrics
## Image
images, image, updateImage, deleteImage# Support
Documentation
https://docs.hetzner.cloud
NpmJs
https://www.npmjs.com/package/hetzner-cloud-api
[email protected]