The following project uses ProductFeed class to download and merge three different streams of the product feed. The ProductFeed it self inherits from the base clase UtilTools. A Generic Class that can download CSV, XML or Json in gz or zip formats.
The following python libraries are required.
- Requests
- Pytest
pip install requirements.pip
Instantiate the object using the ProductsFeeds() object. Then use the run method to start the process to create the product feed the result is a csv.
data = ProductFeeds()
data.run()
You are able to run tests using the command below.
pytest -v test_main
Python 3
- Ashik Pirmohamed