Skip to content

A Haskell library for working with the DigitalOcean API. Probably horrible.

License

Notifications You must be signed in to change notification settings

relrod/digitalocean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

digitalocean

Build Status

A Haskell library for working with the DigitalOcean API.

Released under the 3-clause BSD license.

Implements:

  • GET '/droplets'
  • GET '/droplets/new'
  • GET '/regions'
  • GET '/sizes'
  • GET '/images'
  • GET '/ssh_keys'

Using

let a = Authentication "redacted" "redacted"
x <- droplets a

liftM (map ipAddress . rDroplets) x
-- Just ["198.211.109.123","192.241.204.123"]

fmap (map name . rDroplets) x
-- Just ["myserver01.example.com","myserver02.example.com"]

Command Line App

For faster performance, set an alias in your shell profile:

alias digitalocean-st='digitalocean-status status +RTS -N4'

About

A Haskell library for working with the DigitalOcean API. Probably horrible.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •