Skip to content

How to get previous price of a deal from delta category? #158

@Haiz14

Description

@Haiz14

I got the deals from api.deals() but couldn't figure out how to get previous price of the product.

>>> deals['dr'][1]['delta']
[[1443, 1443, 0, 5672, 0, 0, 0, 18, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 1443, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [9958, 9363, 0, 16086, 0, 0, 0, 79, 0, -1, 0, 0, 0, 0, 0, 0, 0, -1, 9363, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [9951, 9152, 0, 17841, 0, 0, 0, 111, 0, -1, 0, -1, 1, 0, 0, 0, 0, -3, 9139, 0, 0, 0, 0, 0, 0, 0, 0, 0, -2096, 0, 0, 0, 0, 0], [8322, 8144, 0, 36611, 0, 0, 0, -2144, 0, -1, 0, -1, 0, 0, 0, 0, 0, -5, 10424, 0, 0, 0, 0, 0, 0, 0, 0, 0, -4959, 0, 0, 0, 0, 0]]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions