I needed this site for my project, so I give you a simple code to interact with SMSPVA service.
Important! In this code, there is only interaction with the Activations API, no Rent API but in fact if you are an experienced developer you can use the server class method requests() to make requests to their site without writing your own API. By calling smspva.requests(endpoint, headers_array, method)
git clone https://github.com/ssshipilo/smspva.git
Get an API token to interact on the page https://smspva.com/user/{your_username}/
from smspva.api import SMSPVActivator
if __name__ == "__main__":
smspva = SMSPVActivator("<YOU-API-TOKEN>")
result = smspva.get_balance()
print(result)
result = smspva.get_number(country="TZ", service="opt1")
print(result)
result = smspva.get_users_info()
print(result)
result = smspva.get_all_prices()
print(result)
resut = smspva.get_prices_service("opt219", filter="lower")
print(result)
resut = smspva.get_orders()
print(result)
resut = smspva.get_all_countries()
print(result)
resut = smspva.get_all_services()
print(result)
resut = smspva.get_available_numbers(country="SI")
print(result)