ahivert/tgtg-python

How to get the time a store sold out?

Closed this issue · 4 comments

Does the library also provide the functionality to get the time when a store is sold out? Like "sold out since yesterday 20:00"
I tried to find it in the response of get_item, but wasn't able to find anything like it

Is pretty easy accessible:

image

"sold_out_at",

I see, it's on shop instead of item level. Thanks for your help!

I see, it's on shop instead of item level. Thanks for your help!

yeah, kinda confusing. But I guess this is more designed from an app view of usage, not how a good data structure should be 😉

Looks like it's on the highest level, so not on item or store
"sold_out_at" is also hidden when items are still available or when recently no items were made available

[{ "item":{ }, "store":{ }, ... "sold_out_at":"2022-08-13T20:42:22Z", ... }]