Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tableturn/ovh_ex

OVH API wrapper in elixir
https://github.com/tableturn/ovh_ex

elixir ovh ovh-api wrapper

Last synced: 17 days ago
JSON representation

OVH API wrapper in elixir

Awesome Lists containing this project

README

        

# OvhEx

OvhEx is a wrapper on OVH API

## Creates a customer key

First, you need a consumer key. For this, you can use the `mix ovh.auth` task.

For instance, for a consumer key allowed to read all routes and PUT on
`/me` route:

``` shell
mix ovh.auth 'GET /*' 'PUT /me'
```

See `https://api.ovh.com/console/#/auth/credential#POST` for more
details about rules.

Once the key is validated, you should export it in `OVH_CONSUMER_KEY`
env var:

``` shell
export OVH_CONSUMER_KEY=abcdef12345
```

## TODO

* Implements all calls
* Use some kind of translator between doc and Elixir code (should
achieve first point)