Currently we only support PHP code libraries to interact with our API, we hope you will find them useful! If you have a question about these libraries or wish to submit one of your own, please contact us via apiteam[at]vbout.com.
Using the VBOUT API package is very easy and simple, just follow the next example:
- After downloading the files from Github, you must include the classes you need to use, for example:
<?php require_once('../src/services/ApplicationWS.php'); ?>
- Next you have to get a key from your account and assign it to the class.
<?php $user_key = array('api_key' => '{YOUR_API_KEY}'); $app = new ApplicationWS($user_key); ?>
- Finaly, call the appropriate function you want to use.
<?php $results = $app->getBusinessInfo(); print_r($results); /* Example results: **************** { "businessName": "Loft Hotels", "contactName": "Paul Downy", "phoneNumber": "212-400-7133", "vboutName": "Loft-corporate", "package": "Franchise" } */ ?>