1
0
mirror of https://github.com/avitex/elixir-vultr synced 2024-11-21 02:49:57 +00:00
Simple wrapper for the Vultr API
Go to file
2021-04-29 21:25:06 +00:00
.github Upgrade to GitHub-native Dependabot 2021-04-29 21:25:06 +00:00
lib Clean up documentation helpers 2017-10-13 21:46:24 +11: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
mix.exs Bump poison from 3.1.0 to 4.0.1 2020-04-21 06:50:28 +01:00
mix.lock Bump ex_doc from 0.22.0 to 0.22.1 2020-05-26 10:18:36 +10:00
README.md update to travis.com 2020-04-14 18:36:27 +10:00

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.3.0"}]
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, [])