Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tableturn/ovh_ex
- Owner: tableturn
- Created: 2018-06-27T13:32:45.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-04T20:11:39.000Z (almost 5 years ago)
- Last Synced: 2024-10-30T00:34:11.203Z (2 months ago)
- Topics: elixir, ovh, ovh-api, wrapper
- Language: Elixir
- Size: 31.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)