Socket
Socket
Sign inDemoInstall

digital-ocean-api-v2

Package Overview
Dependencies
54
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    digital-ocean-api-v2

Digital Ocean API (v2) library


Version published
Weekly downloads
1
Maintainers
1
Install size
5.13 MB
Created
Weekly downloads
 

Readme

Source

digital-ocean-api-v2

Documentation-generated library for Digital Ocean's API v2

npm install digital-ocean-api-v2

This library is more or less generated automatically from the excellent Digital Ocean API documentation. A parser converts that page into parsed-digital-ocean-api-documentation, and a small factory turns those descriptions into functions, which index piles onto an object, yielding:

var DigitalOceanAPI = require('digital-ocean-api-v2');
var api = new DigitalOceanAPI(DIGITALOCEAN_ACCESS_TOKEN);
api.floatingIpActions.assignFloatingIpToDroplet(floatingIp, { droplet_id: 8219222 })

Each method returns a promise. For a list of methods, see ./methods.md

FAQs

Last updated on 20 Apr 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc