from ffxivstat.lib import Config
from ffxivstat.lib import Lodestone
from ffxivstat.lib.database import save_new_slaes_history_item


def run():
    config = Config()
    ls = Lodestone(config.character(), config.session_id())
    for retainer in config.retainer_ids():
        for item in ls.sales_history(retainer=retainer):
            save_new_slaes_history_item(item)

ee27e9558d3ef2770e4c78476b7d230d49619872
<mask token>

<mask token>


def run():
    config = Config()
    ls = Lodestone(config.character(), config.session_id())
    for retainer in config.retainer_ids():
        for item in ls.sales_history(retainer=retainer):
            save_new_slaes_history_item(item)

from ffxivstat.lib import Config
from ffxivstat.lib import Lodestone
from ffxivstat.lib.database import save_new_slaes_history_item


def run():
    config = Config()
    ls = Lodestone(config.character(), config.session_id())
    for retainer in config.retainer_ids():
        for item in ls.sales_history(retainer=retainer):
            save_new_slaes_history_item(item)
