Чекер SMS-ACTIVATE на цену и свободные симки | BLB - Big little Business

Чекер SMS-ACTIVATE на цену и свободные симки

Статус
Закрыто для дальнейших ответов.

ZeeZeeMon

Специалист
04.12.2020
5
4
3
Начал изучать питон и сам Telegram Gods.
При реге аккаунтов дается огромный выбор смс сервисов, а в каждом сервисе еще большое количество стран. Короче запутаться новичку очень легко.

Написал небольшой скрипт, который показывает цену симок на основные страны и количество свободных номеров.
Софт написан на Python и для удобства сконвертирован в EXE, поэтому некоторые конченные антивирусы на него ругаются.

В планах добавление СМС сервисов в скрипт
2773
Python:
import requests

API = input("Введите API ключ SMS-ACTIVATE: ")

def SmsActivate():

    COUNTRY = (0, 4, 6, 10, 12, 22)
    
    for i in COUNTRY:
        if i == 0:
            URL = "https://api.sms-activate.org/stubs/handler_api.php?api_key=" + API + "&action=getPrices&country=" + str(i)
            GetPrice = requests.get(URL).text.split("tg")
            A = GetPrice[1].split("\"")
            B = A[3].split(":")
            C = B[1].split(",")
            # C[0] цена
            GetCount = requests.get(URL).text.split("\"")
            D = GetCount[302].split("}")
            E = D[0].split(":")
            print("   Россия цена:       " + str(C[0]) + " руб." + "     Свободных номеров: " + str(E[1]))
        elif i == 4:
            URL = "https://api.sms-activate.org/stubs/handler_api.php?api_key=" + API + "&action=getPrices&country=" + str(i)
            GetPrice = requests.get(URL).text.split("tg")
            A = GetPrice[1].split("\"")
            B = A[3].split(":")
            C = B[1].split(",")
            # C[0] цена
            GetCount = requests.get(URL).text.split("\"")
            D = GetCount[302].split("}")
            E = D[0].split(":")
            print("   Филиппины цена:    " + str(C[0]) + " руб." + "       Свободных номеров: " + str(E[1]))
        elif i == 6:
            URL = "https://api.sms-activate.org/stubs/handler_api.php?api_key=" + API + "&action=getPrices&country=" + str(i)
            GetPrice = requests.get(URL).text.split("tg")
            A = GetPrice[1].split("\"")
            B = A[3].split(":")
            C = B[1].split(",")
            # C[0] цена
            GetCount = requests.get(URL).text.split("\"")
            D = GetCount[302].split("}")
            E = D[0].split(":")
            print("   Индонезия цена:    " + str(C[0]) + " руб." + "     Свободных номеров: " + str(E[1]))
        
        elif i == 10:
            URL = "https://api.sms-activate.org/stubs/handler_api.php?api_key=" + API + "&action=getPrices&country=" + str(i)
            GetPrice = requests.get(URL).text.split("tg")
            A = GetPrice[1].split("\"")
            B = A[3].split(":")
            C = B[1].split(",")
            # C[0] цена
            GetCount = requests.get(URL).text.split("\"")
            D = GetCount[188].split("}")
            #D[0]    :цена
            E = D[0].split(":")
            print("   Вьетнам цена:      " + str(C[0]) + " руб." + "     Свободных номеров: " + str(E[1]))
        
        elif i == 12:
            URL = "https://api.sms-activate.org/stubs/handler_api.php?api_key=" + API + "&action=getPrices&country=" + str(i)
            GetPrice = requests.get(URL).text.split("tg")
            A = GetPrice[1].split("\"")
            B = A[3].split(":")
            C = B[1].split(",")
            # C[0] цена
            GetCount = requests.get(URL).text.split("\"")
            D = GetCount[302].split("}")
            E = D[0].split(":")
            print("   США цена:          " + str(C[0]) + " руб." + "       Свободных номеров: " + str(E[1]))
        elif i == 22:
            URL = "https://api.sms-activate.org/stubs/handler_api.php?api_key=" + API + "&action=getPrices&country=" + str(i)
            GetPrice = requests.get(URL).text.split("tg")
            A = GetPrice[1].split("\"")
            B = A[3].split(":")
            C = B[1].split(",")
            # C[0] цена
            GetCount = requests.get(URL).text.split("\"")
            D = GetCount[302].split("}")
            E = D[0].split(":")
            print("   Индия цена:        " + str(C[0]) + " руб." + "     Свободных номеров: " + str(E[1]))
            print("█████████████████████████████████████████████████████████████████████")
    


Balance = "https://api.sms-activate.org/stubs/handler_api.php?api_key=" + API + "&action=getBalance"
GetBalance = requests.get(Balance).text.split(":")   
print("█████████████████████████████████████████████████████████████████████")
print(("█                       Баланс: ") + GetBalance[1] + " руб." + "                          █"    )
print("█████████████████████████████████████████████████████████████████████")




SmsActivate()
print("█          SMS-ACTIVATE Checker by ZeeZeeMon for BLB.TEAM           █")
print("█████████████████████████████████████████████████████████████████████")
input()

>>> СКАЧАТЬ <<<
 

PAKETA_TELEGRAM

Administrator
Команда форума
Администратор
03.04.2020
341
563
103
rutube.ru
до проверки тема закрыта.
 
Статус
Закрыто для дальнейших ответов.