-
Notifications
You must be signed in to change notification settings - Fork 0
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
pyTraffMonetizer.exceptions.NotLoggedInError #1
Comments
Hello Doane, |
How to have this token ?
Doane NERRIERE-DOLBEAU
Tel : 07.83.66.35.91<tel:+33783663591>
…________________________________
From: Amogh Datar ***@***.***>
Sent: Thursday, December 7, 2023 12:27:34 PM
To: coder-amogh/pyTraffMonetizer ***@***.***>
Cc: DoaneND ***@***.***>; Author ***@***.***>
Subject: Re: [coder-amogh/pyTraffMonetizer] pyTraffMonetizer.exceptions.NotLoggedInError (Issue #1)
Hello Doane,
You need to use set_jwt_token(token) prior to using any of the dashboard functions.
—
Reply to this email directly, view it on GitHub<#1 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AY65FDOBFNQPA7CHVXZXKRLYIGR2NAVCNFSM6AAAAABAKYXZLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBVGE3TGMRQGA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
This seems to have been left undocumented, I'll try to add it soon. The JWT token is stored in the |
Thank you very much, can we get token automatically with python for exemple ? (connect to website and retrieve informations about Web page)
Doane NERRIERE-DOLBEAU
Tel : 07.83.66.35.91<tel:+33783663591>
…________________________________
From: Amogh Datar ***@***.***>
Sent: Thursday, December 7, 2023 12:33:29 PM
To: coder-amogh/pyTraffMonetizer ***@***.***>
Cc: DoaneND ***@***.***>; Author ***@***.***>
Subject: Re: [coder-amogh/pyTraffMonetizer] pyTraffMonetizer.exceptions.NotLoggedInError (Issue #1)
This seems to have been left undocumented, I'll try to add it soon.
The JWT token is stored in the localStorage, so you can login to the TraffMonetizer dashboard,open the Console Tab of the browser and then paste this line:localStorage.getItem("token")` to get back the JWT token. Do note that the token will expire in 7 days after login.
—
Reply to this email directly, view it on GitHub<#1 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AY65FDIYQGLZG57GJPSDN2DYIGSQTAVCNFSM6AAAAABAKYXZLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBVGE4DCNJSGU>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hello,
Could you please help me to have balance of traffmonetizer with python script ?
When I launch the script, I receive this error : pyTraffMonetizer.exceptions.NotLoggedInError
I know that you said this on readme, but you don't say anithing else about resolution.
Thank you for your return.
Doane
The text was updated successfully, but these errors were encountered: