mere-teal
mere-teal•11mo 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
sensitive-blue
sensitive-blue•11mo ago
Hey man, I also had that question!
sensitive-blue
sensitive-blue•11mo ago
If you go to the development tab in the console.
No description
sensitive-blue
sensitive-blue•11mo ago
you then have access to the Analytics
No description
sensitive-blue
sensitive-blue•11mo ago
In here you can see which users are free and which are paying!
No description
fascinating-indigo
fascinating-indigo•11mo ago
i mean via python code
automatic-azure
automatic-azure•11mo ago
You cannot
sensitive-blue
sensitive-blue•11mo 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•11mo ago
@nathanist just advanced to level 3! Thanks for your contributions! 🎉
automatic-azure
automatic-azure•11mo ago
it tells you if user pays for apify platform, not if it's on trial

Did you find this page helpful?