10€ off Ambassador membership during Black Friday and Cyber Monday! On special now for 39€ lifetime until 27th Nov 2017 23:59 CET.
Single Status Update
Would you be interested in creating an API for osCommerce?
- Show previous comments 1 more
Imagine having all the sql queries somewhere centralized and having a system to fetch us the data. For example: in the specials.php I would need no more to have a tep_db_query just
$listing = $osc_api->specials();
And now $listing has the data in array so to be used in the specials.php.
Another useful thing about osc API is that you can make your website data available outside of your osc installation and so it would be easy to create mobile applications e.t.c. For example:
will produce a json specials in json format..