onlinesim - OpenTelegramFiles/VoipAPIsClass GitHub Wiki

onlinesim

class onlinesim - constructor ->

                              required arguments -> api_key -> onlinesim.ru api key-> (string)

METHODS

get_balance -> return the balance in a (string) variable

get_frozen_balance -> return the frozen balance in a (string) variable

get_country_ids -> return a python associative dict(associative array) like this {"id":"country_ID", "name": "country"}

get_total_numbers_for_country ->returns the number of the remaining voips in a country

                                                        required arguments -> country_id -> id of the country to check ->(string or int)  

get_code -> returns the voip verification message

                                                        required arguments -> id -> id of the order ->(string or int)

get_number -> get a number, for a service and a country-> return the "order ID"/"id of the order"(string) or None if an Error is found.

                                                             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

                                                           required arguments->id-> id of the order -> (string or int)
⚠️ **GitHub.com Fallback** ⚠️