Home - OpenTelegramFiles/VoipAPIsClass GitHub Wiki
Welcome to the VoipAPIsClass wiki!
class five_sim -> constructor
required arguments -> api_key -> the 5sim.net 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_rating -> return the rating in a (float) variable
get_country_list -> return a python list(array) of country(string)
get_product_list_activation ->return a product list for activations >>updated to 07/07/2021<< in a python list(array) of (string)
ban_number -> ban a number/order (if possible return (True), if not, return (False) )->
required arguments -> id -> id of the order ->(string or int)
get_number -> get a number, for a service and a country-> return a python (dict) of {"phone":result["phone"], "id": result["id"]} or
None if an Error is found.
required arguments->country-> country where you want to buy the voip -> (string)
->product-> product i want to buy -> (string)
->operator(optional, default = "any")-> voip operator ->(string)
get_code - return the sms code for the number/order
required arguments->id-> id of the order -> (string or int)