node-scaleway
Scaleway API Node.js client. It wraps the HTTP api library described here.
Maintained by Manfred Touron
Install
# Install from npm
npm install scaleway
Examples
Create a server with Node.js
var Api = client = token: '<YOUR_TOKEN>'; var data = name: 'c1' organization: '<ORGANIZATION_ID>' image: '<IMAGE_ID>' tags: 'test' 'demo'; client;
Create a server with Coffee-Script
client = 'scaleway' var data = name: 'c1' organization: '<ORGANIZATION_ID>' image: '<IMAGE_ID>' tags: 'test''demo' clientpost '/servers'data consolelog resserver
See ./examples directory for more examples
Documentation
Even if this SDK is designed to be developer-friendly and aim for self-service discovery, it is still recommended to read the official API documentation.
Alternative SDKs
- Official Python SDK: scaleway/python-scaleway
- Cloudformation plugin, with API client in Node.js: resin-io/scaleway-cloudformation