A wrapper over OVH's API with killer autocomplete feature.
Project description
OVH API CLI is a command line tool that allows usage of OVH’s API from
within a terminal.
Installation
python setup.py install source /etc/bash_completion.d/ovhcli
Usage
Put credentials inside ~/.ovhcli
$ echo '{\ "AK": "Account_KEY",\ "AS": "Account_SECRET",\ "CK": "Consumer_KEY"\ } > ~/.ovhcli
Use tab to trigger the completion
$ ovhcli [TAB] $ ovhcli /[TAB][TAB] allDom housing freefax directadmin overTheBox support auth installationTemplate horizonView office database telephony ... $ ovhcli /me me bill history subAccount backupCode changeEmail order subscription ... $ ovhcli /me/contact [TAB][TAB] get put $ ovhcli /me/contact PUT [TAB][TAB] --city= --line2= --province= --country= --line3= --zip= --line1= --otherDetails= # some parameters can be automagically listed: $ ovhcli /me/contact/\{contactId\} GET --contactId=[TAB][TAB] contact1 contact2 contact3
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ovh_api_cli-1.0.4.tar.gz
(6.4 kB
view details)
File details
Details for the file ovh_api_cli-1.0.4.tar.gz
.
File metadata
- Download URL: ovh_api_cli-1.0.4.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 252270894c55683d3fc22ae3c34d39a4825b21cd2d55eb8ffcf2670da7adf862 |
|
MD5 | 24f84e40a2a2834a0e81e86eb72a1781 |
|
BLAKE2b-256 | 800a681e9ceac0032bb5ef2cb6a88a5562df4e7d0c86fac0af40d7df282b150c |