Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Haiz14 opened this issue Nov 29, 2023 · 0 comments
Open

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

Haiz14 opened this issue Nov 29, 2023 · 0 comments

Comments

@Haiz14
Copy link

Haiz14 commented Nov 29, 2023

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]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant