Simple wrapper for the Vultr API
Go to file
avitex 9575328245 Update ex_doc, bump version 2017-08-23 18:15:08 +10:00
lib Fix upcase error and test 2017-07-30 19:53:23 +10:00
test Fix upcase error and test 2017-07-30 19:53:23 +10:00
.gitignore Trigger travis build 2017-07-15 21:33:29 +10:00
.travis.yml Fix inch.report 2017-07-30 19:59:54 +10:00
README.md Update ex_doc, bump version 2017-08-23 18:15:08 +10:00
mix.exs Update ex_doc, bump version 2017-08-23 18:15:08 +10:00
mix.lock Update ex_doc, bump version 2017-08-23 18:15:08 +10:00

README.md

Build Status Hex.pm Hex Docs

Vultr

Simple wrapper for the Vultr API.
Documentation hosted on hexdocs.

Installation

Add vultr to your list of dependencies in mix.exs:

def deps do
  [{:vultr, "~> 0.2.2"}]
end

Examples

Retrieving app list

Vultr.app_list()

# Example response
{:ok, %{ "1" => %{"APPID" => "1", "deploy_name" => "LEMP on CentOS 6 x64", ... }, ... }}

Using authenticated methods

client = Vultr.client("<APIKEY>")
Vultr.server_list(client, [])