servuc / ovhapi
There is no license information available for the latest version (v0.1) of this package.
Yet another wrapper PHP to use OVH API easily !
v0.1
2017-01-26 10:26 UTC
Requires
- php: ^7.1
- ext-curl: *
This package is not auto-updated.
Last update: 2025-02-11 22:45:37 UTC
README
Ask the OVH API easily with PHP, this is simple example to link my blog post.
My version use curl instead OVH way.
You can get your app key here :).
Setup project
Just check if you have php5-cli
and php5-curl
on your computer for CLI usage :
sudo apt-get install php5-cli php5-curl
Use the CLI version
This cli scripts permit to get informations about domains linked to your account.
DO NOT FORGET to set you application key and your application secret key to test it ;)
This use is very simply :
php cliAskDomains.php -g #For credentials
php cliAskDomains.php -d #List your domains
Use the WEB version
Web version should not be use like my example because there is no security !
Help
Try to add in top of example :
ini_set('display_errors', 1);
error_reporting(E_ALL);