Bigcommerce API connection error

I am new to the Big-commerce.

I am try to connect the PHP API of the Big-commerce below is my code.

    'store_url' => 'mystore url',
    'username'  => 'admin',
    'api_key'   => 'my apikey'

$ping = BigCommerce_Api::getTime();
if ($ping) 
    echo $ping->format('H:i:s');
    echo "error in connection";

i am try to display the time if connection is completed but getting error.

is there any problem in my code?

Please help me out form this problem.

Leave a Reply


Hire Me
Follow Me!
Most Popular Articles & Pages
Because your vote is Important
Sorry, there are no polls available at the moment.