deep-jade
deep-jade•9mo ago

Hello how can i check if the user of my

Hello how can i check if the user of my actor is in trial period or not ? Thanks
9 Replies
fascinating-indigo
fascinating-indigo•9mo ago
Hey man, I also had that question!
fascinating-indigo
fascinating-indigo•9mo ago
If you go to the development tab in the console.
No description
fascinating-indigo
fascinating-indigo•9mo ago
you then have access to the Analytics
No description
fascinating-indigo
fascinating-indigo•9mo ago
In here you can see which users are free and which are paying!
No description
extended-yellow
extended-yellow•9mo ago
i mean via python code
rival-black
rival-black•9mo ago
You cannot
noble-gold
noble-gold•9mo ago
Yes you can do it programmatically:
user_info = await Actor.apify_client.user().get()
if not user_info.get('isPaying'):
# do something
user_info = await Actor.apify_client.user().get()
if not user_info.get('isPaying'):
# do something
MEE6
MEE6•9mo ago
@nathanist just advanced to level 3! Thanks for your contributions! 🎉
rival-black
rival-black•9mo ago
it tells you if user pays for apify platform, not if it's on trial

Did you find this page helpful?