DigitalOcean provides a simple, cloud based virtual server (droplet) service. With over 13,000 cloud servers currently in operation, DigitalOcean is a well-established provider of online storage solutions with fast, realtime control. With a streamlined interface, users are able to create and start utilizing a virtual server in under a minute.
The API provides all the same services as the web control panel to allow full control over your Droplet virtual servers. Using a simple, REST interface you can make calls for: shutting down, power cycling your virtual server, show all active droplets, take a snapshot, rebuild your droplet, and more. The API supports all major droplet functions allowing you to effectively run your server through the API.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.
The DigitalOcean iOS Sample Code by shapsuk provides a XCode workspace to demonstrate API interaction. Developers can create, validate, update, and delete queries that allow importing scheduled upgrades, domains, and SSH keys.
The DigitalOcean Java Sample Code by DigitalOcean provides an integration and a mock test for evaluating API interaction. While the first test shows how to add metadata, SSH info, and API client, the second test displays basic HTTP responses with its respective validation requests.
The DigitalOcean Scala Sample Code by shawjef3 demonstrates API interaction by testing IP addresses, netmasks, and gateways. By evaluating hostname quality, the author aims to prepare the development environment for integration purposes.
The DigitalOcean Node.js Sample Code by Matt Major demonstrates API interaction to access cloud features, useful for infrastructure as a service applications. The wrapper provides initial tests while request helper offers class creations.
The DigitalOcean .NET Sample Code by DigitalOcean demonstrates API interaction, providing configuration for sending requests and receiving responses. File alignment, references, and compiling are available as project resources.
The DigitalOcean Python Sample Code by DigitalOcean demonstrates with tests how to interact with the API. Content includes action, domain, droplet, floating, image, manager, tag, and volume. Tests evaluate the API accuracy, providing requests to receive responses in return.
The DigitalOcean Ruby Sample Code by DigitalOcean demonstrates API interaction to access cloud features that can be implemented in development applications. Documents provide requests and responses by testing common errors, paginated endpoints, and invalid parameters.
The DigitalOcean Go Sample Code by DigitalOcean provides tests to demonstrate API interaction, including accounts, actions, domains, droplets, errors, images, links, regions, storage services, tags, and timestamps. Visit each document to access requests and responses.