mirror of
https://github.com/avitex/elixir-vultr
synced 2024-11-21 02:49:57 +00:00
Simple wrapper for the Vultr API
d799936077
Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.22.0 to 0.22.1. - [Release notes](https://github.com/elixir-lang/ex_doc/releases) - [Changelog](https://github.com/elixir-lang/ex_doc/blob/master/CHANGELOG.md) - [Commits](https://github.com/elixir-lang/ex_doc/compare/v0.22.0...v0.22.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> |
||
---|---|---|
lib | ||
test | ||
.gitignore | ||
.travis.yml | ||
mix.exs | ||
mix.lock | ||
README.md |
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, [])