Simple wrapper for the Vultr API
Go to file
dependabot-preview[bot] 4eba9e11db Bump inch_ex from 0.5.6 to 2.0.0
Bumps [inch_ex](https://github.com/rrrene/inch_ex) from 0.5.6 to 2.0.0.
- [Release notes](https://github.com/rrrene/inch_ex/releases)
- [Changelog](https://github.com/rrrene/inch_ex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rrrene/inch_ex/commits/v2.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-20 16:06:05 +01: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
README.md update to travis.com 2020-04-14 18:36:27 +10:00
mix.exs Bump inch_ex from 0.5.6 to 2.0.0 2020-04-20 16:06:05 +01:00
mix.lock Bump inch_ex from 0.5.6 to 2.0.0 2020-04-20 16:06:05 +01: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.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, [])