#hakeem_api

1 messages ¡ Page 1 of 1 (latest)

sonic turtleBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1326949186104721459

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

polar wing
#

Is it as simple as seeing if trial_start exists? and if trial_end exists too? will this data be available on canceled subscriptions?

#

my naive plan is to iterate through all subscriptions and gather those with trial_start and trial_end set. would this be a complete list of all trials I've granted?

lethal bramble
#

I believe that will work, but I recommend testing in test mode with test clocks to make sure that behaves as expected

#

Subscriptions can technically have multiple trials though. You can start one whenever

#

So I think that would just reflect the timestamps of the last trial period of the subscription

polar wing
#

I see. thank you

#

and there's no way of seeing all the trial_start and trial_ends? they just overwrite each other?

lethal bramble
#

Correct

polar wing
#

thanks