Skip to content
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

forefront: update account creation logic #285

Merged
merged 1 commit into from
Apr 30, 2023
Merged

forefront: update account creation logic #285

merged 1 commit into from
Apr 30, 2023

Conversation

Akash98Sky
Copy link
Contributor

  • Update account creation and verification logic, as per the latest forefont.ai APIs.
  • Use the official mail.tm API library pymailtm.

* update account creation and verification as per latest forefont API

* use official Mail TM library pymailtm, instead of maintaining custom API code
@Vlad202
Copy link

Vlad202 commented Apr 29, 2023

is it possible to make code faster? account reg works very slow. Am i need to register account per everty request?

@Akash98Sky
Copy link
Contributor Author

Akash98Sky commented Apr 29, 2023

is it possible to make code faster? account reg works very slow. Am i need to register account per everty request?

Is it possible to make code faster?

  • For account creation, all these steps are necessary and it is a one-time process. It would take around 10-15 secs, which is fine I guess.

Am I need to register an account per every request?

  • No. On successful account creation email address and token would be dumped in a file named accounts.txt, these tokens can be used to make future requests.
    Not sure how long these tokens are valid. But yeah we can look into it about how to reuse an account.

PS: A forefront user access token is valid for 1 hour.

@xtekky xtekky merged commit ed196d8 into xtekky:main Apr 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants