API to manage your server with node js
https://hetzner.cloud/?ref=Fm9TTCZkqtj1
https://console.hetzner.cloud/projects/"your project id"/security/tokens ->GENERATE API TOKEN this your API KEY
npm i hetzner-cloud-api --save
Then...
const Cloud = require('hetzner-cloud-api');
const client = new Cloud("your API KEY");
//example <promise>
client.getServers().then(servers=>{
console.log(servers)
}).catch(err=>{
console.log(err)
})
getServers, createServer, getServer, updateServer, deleteServer, getServerMetrics
images, image, updateImage, deleteImage
Documentation
https://docs.hetzner.cloud
NpmJs
https://www.npmjs.com/package/hetzner-cloud-api
E-mail info@ferdiozer.com