smspva - OpenTelegramFiles/VoipAPIsClass GitHub Wiki
SMSPVA
class smspva - constructor ->
required arguments -> api_key -> smspva.com api key-> (string)
METHODS
get_balance -> return the balance in a (string) variable
get_service_price -> return service price as (float)
required arguments -> country -> country to check ->(string )
-> service -> service to check ->(string)
get_total_numbers_for_country ->returns the number of the remaining voips in a country
get_country_list -> returns the country list as _python [list]_ (array) #updated at 07/07/2021
get_service_list -> returns the service list as python [list] (array)#updated at 07/07/2021
get_service_descriptions -> returns a string with services and their descriptions
required arguments->country id-> country where you want to buy the voip -> (string or int)
->service -> product i want to buy -> (string)
get_code - return the sms code for the number/order -> (string)
required arguments->id-> id of the order -> (string or int)
country -> country of order ->(string )
-> service -> service of order ->(string)
get_number -> return a python associative dict (associative array) like this {"number":"number", "id":ORDER_ID"}, if an error as occurred, returns None.
required arguments->country -> country for order ->(string )
-> service -> service for order ->(string)
ban_number -> ban an order/number ->returns (True) IF SUCCESS
required arguments->id -> id of order ->(string )
-> service -> service of order ->(string)