Jump to content

I need information about api


Recommended Posts

Hello ,

Could you help me ?

I need informations about API

I have see a lot request for a register module for OVH.com but i don't found this module.

OVH give this

<?php

 

$soap = new SoapClient('https://www.ovh.com/soapi/soapi-1.2.wsdl');

 

//login

try {

 

$login = "xxxxxx-ovh";

$password = "******";

$language = null;

$multisession = false;

 

$session = $soap->login($login,$password,$language,$multisession);

 

echo "login successfull<br/>";

 

} catch(SoapFault $fault) {

echo "Error : ".$fault;

}

 

//resellerDomainCreate

try {

 

$result = $soap->resellerDomainCreate($session, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', false);

 

echo "resellerDomainCreate successfull<br/>";

print_r($result); // place your code here ...

echo "<br/>";

 

} catch(SoapFault $fault) {

echo "Error : ".$fault;

}

 

//logout

try {

 

$result = $soap->logout($session);

 

echo "logout successfull<br/>";

 

} catch(SoapFault $fault) {

echo "Error : ".$fault;

}

 

?>

To create a domain with their API and i have download your registrardevkit but i don't understand how does it work !

More info : http://www.ovh.com/soapi/en/

I have 8 servers and i want to use whmcs with all but i really need a register for European TLD extensions like : .FR .BE .ORG .INFO .BIZ

 

Best regards,

Quentin

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated