Skip to content

strite-ru/strite-data-hub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Strite data hub


SAI ITMO RU

This is a data hub for the Strite project. It is a collection of data sources and tools for data analysis.

Documentation

Full docs

How to bootstrap

Requirements

  • Python 3.11
  • Ozon authentication key
    • Client-id
    • Api-Key
  • Wildberries authentication key
    • Api-Key
    • Statistics-key

Obtaining API keys for accessing the marketplace API can be done through your personal account on the website of the Ozon and Wildberries marketplaces.

Install dependencies

pip install git+https://github.com/strite-ru/strite-data-hub.git

Examples

Initialization of an object with Ozon access (to receive data from the marketplace)

from strite_data_hub.parsers.ozon import OzonAPI


ozon_api = OzonAPI(client_id="Your_Client-Id", key="Your_Api-Key")

Initializing an object with Wilderries access (for getting data from the marketplace)

from strite_data_hub.parsers.wildberries import WildberriesAPI


wb_api = WildberriesAPI(statistics="Your_statistic-key", marketplace="Your_Api-Key")

Project structure

Core library path is strite_data_hub. It contains folders with common structure of interaction with Ozon and WildBerries.

  • parsers folder with marketplace interaction
    • ozon
      • api
      • finance
      • orders
      • products
    • wildberries
      • api
      • finance
      • orders
      • products
      • warehouses
  • general_datastructures folder contains dataclasses entities
  • utils folder contains several common types and helper functions
  • requirements.txt contains requirements information

Getting Started

Full docs

Acknowledgements

This project is supported by ITMO University