lcozzoli / sms-activate.org Goto Github PK
View Code? Open in Web Editor NEWA full NodeJS sms-activate.org api wrapper up to date in Typescript
A full NodeJS sms-activate.org api wrapper up to date in Typescript
Hey,
Could you please update the documentation? I get a lot of type errors when I paste the README.md into a ts project. Thank you!
the Foodora service is not added to the library
[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "AxiosError: Request failed with status code 503".] {
code: 'ERR_UNHANDLED_REJECTION'
}
error that i get when requesting numbers
issue with parsing response,
this is the response from api:
Spark Wallet Verification :. Please click the link to verify your mobile phone number. https://link.sparkwallet.io/somesecretcode
but what arrives:
Spark Wallet Verification :. Please click the link to verify your mobile phone number. https:
again because of the way this library checks for :
and splits them. I think it should just send everything after the response is parsed.
Hi,
const code = await number.getCode();
does not work for me. the code just stops even though i can see the code on the SMS website.
can you please help with instructions for nodejs "require" syntax? is it possible to use with this library?
sorry to bug you again but I just noticed they started returning ACCESS_NUMBER in getNumber endpoint and this library is returning SERVER_ERROR...
running this command:
axios.get(https://sms-activate.ru/stubs/handler_api.php?api_key=${SMSActivateAPIKEY}&action=getNumber&service=${service}&country=${country}
)
returns this response:
ACCESS_NUMBER:122xxx:62895xxxx
so when this is called:
smsActivateOrgApi.getNumber({country, service})
it returns SERVER_ERROR
because I think it doesn't find all the other things in the response string.
can you handle this response from API:
STATUS_OK:Dein OpenAI API Sicherheitscode lautet: 194130
in this case, it returns Dein OpenAI API Sicherheitscode lautet
where it should return Dein OpenAI API Sicherheitscode lautet: 194130
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.