Official Vultr client node module.
npm install @vultr/vultr-node
Vultr uses a PAT (Personal Access Token) to interact/authenticate with the APIs. An API Key can be generated and acquired from the API menu in settings.
const VultrNode = require('@vultr/vultr-node')
// Initialize the instance with your configuration
const vultr = VultrNode.initialize({
apiKey: 'your-api-key-here',
baseUrl: 'https://example.com', // Optional
rateLimit: 600 // Optional
})
// Call endpoints using Promises
vultr.account.getAccountInfo().then((response) => {
console.log(response)
})
This project follows SemVer for versioning. For the versions available, see the tags on this repository
This implements Vultr API V2. For documentation on all endpoints, please visit https://www.vultr.com/api/. To use Vultr API V1, please use the version of the library on the V1 branch, or any version of this library before 2.0.0.
For documentation specific to this client please visit https://vultr.github.io/vultr-node
Feel free to send pull requests our way! Please see the contributing guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.