API Testing - Shop Info

Created test page to see if configuration of API is working correctly and all that's returned is blank screen.

<html>
<body>

<?php
include_once 'var/www/html/WebshopappApiClient.php';

//cluster_id is the location where the shop is hosted

$api = new WebshopappApiClient('us1', 'api_key', 'api_secret', 'en');

$shopInfo = $api->shop->get();

echo '<pre>';
print_r($shopInfo);
echo '</pre>';
?>

</body>
</html>


Any ideas?

In addition we are trying to connect our solution to our payment provider API?
Tags:
Sign In or Register to comment.