wstkeys/services/red.py

17 lines
464 B
Python

import datetime
from API.rok import download_products, download_prices
from API.rokky import decrypt_and_unpack, add_product, update_prices
def run_task():
download_prices()
decrypt_and_unpack("prices")
update_prices()
print("REDs download_prices:", datetime.datetime.now())
def run_task1():
download_products()
decrypt_and_unpack("products")
add_product()
print("REDs download__product:", datetime.datetime.now())