Sorry for the noobie question but I just wanted to know the process by which I could at least connect to my bigcommerce store and query it via a PHP or curl script.
If someone could help me with simple instructions. i.e download bigcommerce php script, install , generate API on user, install wamp or some other php mac app paste into here blah blah blah I would be eternally grateful.
I have been reading and reading and just obvioulsy missing something as I cant gereneate anything out of the playground section of developer big commerce functionality and dont know where to go from here.
Nearly forgot to mention I am on a mac if that makes a difference
Thanks
Andrew
you can install MAMP on your mac, then proceed to http://developer.bigcommerce.com/ to get your api keys. then just download the Bigcommerce PHP API, see the API Doc to learn to use it.
Simple cURL snippet to get orders
Hope this helps
I wouldn't advise using CURL option... I began this way but highly recommended the PHP API that Bigcommerce have created.
You can find the quickstart documentation @ http://developer.bigcommerce.com/quickstarts/php
If you wanted to do that using PHP API you would only have to write the following...
1.) Install WAMP 2.) Download the PHP API from Github here : https://github.com/bigcommerce/bigcommerce-api-php 3.) Following the instruction on the github page here https://github.com/bigcommerce/bigcommerce-api-php
Ensure that you can 'connect to store' etc and get the correct responses.
If you can't get past this point copy us your code and some errors and will see what we can do!
1) Requirements
2) Create Folder wamp/www/bigcommerceDemo and Download https://github.com/bigcommerce/bigcommerce-api-php/archive/master.zip in it.
3) Install composer with composer install command
4) Create index.php file in bigcommerceDemo folder means your project folder
5) Run localhost/bigcommerceDemo : This file display all products.
The API documentation is pretty good. The key (which I originally struggled to figure out) is that as a starting place it needs to run on a server.
Install xampp or similar that is running PHP. From there make sure to reference the API file, authenticate, code away. I have found that this was the gap in the documentation.