Simple wrapper for the Vultr API.
Documentation hosted on hexdocs.
Add vultr
to your list of dependencies in mix.exs
:
def deps do
[{:vultr, "~> 0.3.0"}]
end
Vultr.app_list()
# Example response
{:ok, %{ "1" => %{"APPID" => "1", "deploy_name" => "LEMP on CentOS 6 x64", ... }, ... }}
client = Vultr.client("<APIKEY>")
Vultr.server_list(client, [])