Created
March 4, 2017 20:03
-
-
Save datysho/fac95ce755ce325968e63e7acdb82cfc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import digitalocean | |
droplet = digitalocean.Droplet(token="secretspecialuniquesnowflake", | |
name='Example', | |
region='nyc2', # New York 2 | |
image='ubuntu-14-04-x64', # Ubuntu 14.04 x64 | |
size_slug='512mb', # 512MB | |
backups=True) | |
droplet.create() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment