Jump to content
UBot Underground

Connecting Ubotstudio To Smspva?


Recommended Posts

This can be done with the http plugin using the api calls.

 

Pretty easy once your familiar with the http pluin and api calls.

 

Have it integrated into quite a few of my personal bots.  But it can be a real pain with all the checks you have do to for a working number, then to get the proper verification code.  You have to code in a lot of redundencys to check over and over and then exit and mark as a bad number after a certain number of tries.

 

Hope that helps.

  • Like 1
Link to post
Share on other sites
  • 10 months later...

Basically what you need to do is first get yourself a copy of HTTP Post Plugin or Heopas Plugin so that you can make HTTP requests.

 

Also, get the JSON Path Parser plugin - alternatively you can use regex to parse the response.

 

Then grab your SMSPVA account and head on over to the "Profile & API Key" page and grab your API Key.

 

Then head to the API page and find the method you want to use.

 

We can use the "get_number" method.

 

Make a new GET request and copy the example code. Then replace the country, service, id and apikey with your own information.

 

You probably will want to make this a custom command with those 4 parameters to pass into it.

 

Finally, you need to use JSON Path Parser or regex to parse the response.

 

I know this is just a high level view and not actual code but because you will need to be using many methods from their API its best if you learn about all this stuff so you can create the code yourself and understand it.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...