Name: SMSPool.zip
Version: 1.00
Gologin Antiodetect Browser Control With BAS
Required version BAS: 30.5.0 or version newer.
Do you agree to your module in BAS: Yes
Need More Application or Development?
Telegram: @adiorbit
More Module Join Telegram Channel: https://t.me/bastutorial
Website: https://adiorbit.com
Hi everyone,
I made a simple module for SMSPool (smspool.net). You can rent a phone number for any service SMSPool supports, wait for the SMS code, and cancel the order if no code arrives. You don't need to write any code: just add the actions to your script.
Actions
SMSPool: get number
Inputs: API key, service, country
Option to add the country code to the number
Saves the number to [[SMSPOOL_NUMBER]] and the order ID to [[SMSPOOL_ORDER_ID]]
SMSPool: get code
Checks for the SMS every 5 seconds until it arrives or the wait time ends (300 seconds by default, adjustable)
Saves the code to [[SMSPOOL_CODE]] and the full message to [[SMSPOOL_FULL_SMS]]
Fails with a clear error if no code arrives in time
SMSPool: cancel order
Cancels the order so your balance is refunded
Features
Uses BAS's internal HTTP client, so your main HTTP client and proxy settings stay as they are
Works in multithreaded scripts
Every step is written to the log, and errors include SMSPool's own message
Installation
Download SMSPool.zip
In BAS, open Module Manager → Install module and select the zip
Search for "SMSPool" in the action list
Typical usage
Get number → type the number on the site → Get code → type the code. If the code doesn't arrive, run Cancel order.
Requirements
An SMSPool account with balance
Your API key, found in your SMSPool account settings
Feedback and bug reports are welcome. If something doesn't work, please post your log here.
Tested on BAS 31.1.0.