Skip to content

SunMarketing/Zbozi-Extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zboží.cz extractor for Keboola

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.

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

Output

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

Installation

If you want to run this app standalone:

  1. Clone the repository: git@bitbucket.org:matla/zbozi-extractor.git ex-zbozi

  2. Go to the directory: cd ex-zbozi

  3. Install composer: curl -s http://getcomposer.org/installer | php

  4. Install packages: php composer.phar install

  5. Create folder data

  6. Create file data/config.yml with configuration, e.g.:

    parameters:
      username:
      password:
      premiseId:
      bucket: in.c-zbozi
    
  7. Run: php src/run.php --data=./data

  8. Data tables will be saved to directory data/out/tables

About

Keboola Extractor for Zboží.cz

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published