Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

digital-ocean-api-v2

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

digital-ocean-api-v2

Documentation-generated library for Digital Ocean's API v2

  • 0.1.0
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

digital-ocean-api-v2

Documentation-generated library for Digital Ocean's API v2

This library is more or less generated automatically from the excellent Digital Ocean API documentation. A rather messy parser converts that page into parsed-schema.json, 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 })

It's in beta while function signature stuff is thought through. There are a couple things that look like typos in the documentation that probably shouldn't be reflected in the API (no referer please).

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

TODOs

FAQs

Package last updated on 15 Jan 2016

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc