ionos-cloud / sdk-nodejs

Apache License 2.0
1 stars 0 forks source link

[ CI ] CloudApi V6 / NodeJS Npm Version Gitter Quality Gate Status Bugs Maintainability Rating Reliability Rating Security Rating Vulnerabilities

Alt text

Node JS API client for ionoscloud

An enterprise-grade Infrastructure is provided as a Service (IaaS) solution that can be managed through a browser-based \"Data Center Designer\" (DCD) tool or via an easy to use API.

The API allows you to perform a variety of management tasks such as spinning up additional servers, adding volumes, adjusting networking, and so forth. It is designed to allow users to leverage the same power and flexibility found within the DCD visual tool. Both tools are consistent with their concepts and lend well to making the experience smooth and intuitive.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

Installation

Install the following dependencies:

npm i --save @ionos-cloud/sdk-nodejs

Usage

Import the SDK using:

const sdk = require('@ionos-cloud/sdk-nodejs')

Or, if the import is done from an ES module, use:

import * as sdk from '@ionos-cloud/sdk-nodejs';

Usage example:

const config = new sdk.Configuration({username: 'YOUR_USERNAME', password: 'YOUR_PASSWORD'});
const dcApi = new sdk.DataCentersApi(config);

dcApi.datacentersGet().then((response) => console.log(response));