The OPCSA-API

The API is controlled by the file opcsa.php, which is in the main directory. This file reacts on the following variables:

 

The following examples shows the typical reuse of OPCSA:

pricecomparison.de/opcsa.php?mid=1234
A (plain Unix-)Timestamp of of the last csv download (which is processed): 1272630452

pricecomparison.de/opcsa.php?mid=1234&upw=secret
Request to csv download. Feedback true or false

pricecomparison.de/opcsa.php?mid=1234&upw=secret&tot=1272630452
Request to csv download on a specific timestamp. Feedback true or false

pricecomparison.de/opcsa.php?mid=1234&upw=secret&tot=del
Request to delete the csv download on a specific timestamp. Feedback true or false

pricecomparison.de/opcsa.php?url=www.ashop.com
A Timestamp of of the last csv download (which is processed): 1272630452

pricecomparison.de/opcsa.php?time
Server time: 1272641267

pricecomparison.de/opcsa.php?version
Used OPCSA: 0.9

Download

Current Version

Current Version of OPCSA0.9
Upload 2010-05-09