Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/avitex/elixir-vultr
Simple wrapper for the Vultr API in Elixir
https://github.com/avitex/elixir-vultr
elixir-lang vultr-api
Last synced: about 2 months ago
JSON representation
Simple wrapper for the Vultr API in Elixir
- Host: GitHub
- URL: https://github.com/avitex/elixir-vultr
- Owner: avitex
- Created: 2017-07-15T10:50:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-04-29T21:25:07.000Z (over 3 years ago)
- Last Synced: 2024-10-29T00:54:18.581Z (2 months ago)
- Topics: elixir-lang, vultr-api
- Language: Elixir
- Homepage:
- Size: 35.2 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- freaking_awesome_elixir - Elixir - Simple wrapper for the Vultr API. (Third Party APIs)
- fucking-awesome-elixir - vultr - Simple wrapper for the Vultr API. (Third Party APIs)
- awesome-elixir - vultr - Simple wrapper for the Vultr API. (Third Party APIs)
README
[![Build Status](https://travis-ci.com/avitex/elixir-vultr.svg?branch=master)](https://travis-ci.com/avitex/elixir-vultr)
[![Hex.pm](https://img.shields.io/hexpm/v/vultr.svg)](https://hex.pm/packages/vultr)
[![Hex Docs](https://img.shields.io/badge/hex-docs-blue.svg)](https://hexdocs.pm/vultr)# Vultr
**Simple wrapper for the [Vultr API](https://www.vultr.com/api/).**
Documentation hosted on [hexdocs](https://hexdocs.pm/vultr).## Installation
Add `vultr` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[{:vultr, "~> 0.3.0"}]
end
```## Examples
#### Retrieving app list```elixir
Vultr.app_list()# Example response
{:ok, %{ "1" => %{"APPID" => "1", "deploy_name" => "LEMP on CentOS 6 x64", ... }, ... }}
```#### Using authenticated methods
```elixir
client = Vultr.client("")
Vultr.server_list(client, [])
```