Skip to main content

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


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)

Uploaded Source

File details

Details for the file ovh_api_cli-1.0.4.tar.gz.

File metadata

File hashes

Hashes for ovh_api_cli-1.0.4.tar.gz
Algorithm Hash digest
SHA256 252270894c55683d3fc22ae3c34d39a4825b21cd2d55eb8ffcf2670da7adf862
MD5 24f84e40a2a2834a0e81e86eb72a1781
BLAKE2b-256 800a681e9ceac0032bb5ef2cb6a88a5562df4e7d0c86fac0af40d7df282b150c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page