0xzer / smsactivate-api Goto Github PK
View Code? Open in Web Editor NEWAPI Wrapper for sms-activate
API Wrapper for sms-activate
Hello
The getBalance() function returns always an undefined value.
can i send a pull request to patch this issue ?
thanks
Hello. I have issue, sometimes I see verification codes comes in sms-activate webpage, but in console I see STATUS_WAIT_CODE. Usually there stack of few sms, which not received. Its not often case, I see it usually after I leave and come back. There no any errors, just sms-code appears on webpage, but script not see it... here part of code
do {
await sleep(1000);
code = await client.getFullSms(number.activationId);
console.log('Number:', number.phoneNumber, 'id:', number.activationId, code.error, attempts_wait_code);
attempts_wait_code--;
if (code.error === 'STATUS_WAIT_CODE' && attempts_wait_code < 1) {
await client.setNumberStatus(number.activationId, "8");
console.log("SMS not received after 90 seconds, getting new number. Retry's:", restarts);
restarts++;
continue phoneLoop;
}
} while (code.error === 'STATUS_WAIT_CODE');
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.