KBC Docker app for extracting data from Zboží.cz (http://zbozi.cz)
The Extractor gets list of campaign stats for previous day and saves the data to Storage API. Date of downloaded stats can be changed in configuration.
- parameters:
- username - Username to Zboží.cz
- password - Password to Zboží.cz
- bucket - Name of bucket where the data will be saved
- since (optional) - start date of downloaded stats (default is "-1 day")
- until (optional) - end date of downloaded stats (default is "-1 day")
- premiseId - Premise Id in Zboží.cz
Data are saved into table incrementally:
stats - contains marketing stats, columns are:
- premiseId
- date
- visits
- cpc
- spend
- conversion_rates
- orders
- aov
- transaction_revenue
- pno
NOTICE!
- Data can change for last 30 days
If you want to run this app standalone:
-
Clone the repository:
git@bitbucket.org:matla/zbozi-extractor.git ex-zbozi
-
Go to the directory:
cd ex-zbozi
-
Install composer:
curl -s http://getcomposer.org/installer | php
-
Install packages:
php composer.phar install
-
Create folder
data
-
Create file
data/config.yml
with configuration, e.g.:parameters: username: password: premiseId: bucket: in.c-zbozi
-
Run:
php src/run.php --data=./data
-
Data tables will be saved to directory
data/out/tables