def landing_sub_pages_6(page_id, page_subid, page_subid_2, page_subid_3, page_subid_4, page_subid_5, page_subid_6): if Utils.niceHashRequest(8, page_id) != None: if Utils.check_bc(page_subid) == True: if Utils.niceHashRequest(9, page_subid_2) != None: if Utils.niceHashRequest(10, page_subid_3) != None: if Utils.niceHashRequest(13, page_subid_4) != None: try: tryConvert = int(page_subid_5) sizePayments = (Utils.nicehash_GetLength( page_subid, page_subid_2, page_subid_3, page_subid_4) - 1) if tryConvert <= sizePayments: comparation_NiceHash = Utils.niceHashRequest( 6, page_subid_6) if comparation_NiceHash != None: return AdministrateAPI.NiceHash( page_subid, page_subid_2, page_subid_3, page_subid_4, tryConvert, comparation_NiceHash, 2) else: return Utils.showMessage(None, "0x110") else: return Utils.showMessage(None, "0x111") except Exception: return Utils.showMessage(None, "0x112") elif Utils.niceHashRequest(12, page_subid_4) != None: try: tryConvert = int(page_subid_5) sizePayments = (Utils.nicehash_GetLength( page_subid, page_subid_2, page_subid_3, page_subid_4) - 1) if tryConvert <= sizePayments: if Utils.niceHashRequest(7, page_subid_6) != None: return AdministrateAPI.NiceHash( page_subid, page_subid_2, page_subid_3, page_subid_4, page_subid_5, page_subid_6, 1) else: return Utils.showMessage(None, "0x113") else: return Utils.showMessage(None, "0x114") except Exception: return Utils.showMessage(None, "0x115") else: return Utils.showMessage(None, "0x116") else: return Utils.showMessage(None, "0x117") else: return Utils.showMessage(None, "0x118") else: return Utils.showMessage("Invalid wallet address.", "0x119") else: return Utils.showMessage(None, "0x120")
def landing_page(page_id): if Utils.mercadoBitCoinRequest(3, page_id) != None: return AdministrateAPI.MercadoBitCoin() elif Utils.blinkTradeRequest(3, page_id) != None: return AdministrateAPI.BlinkTrade() elif Utils.coinDeskJSON(6, page_id) != None: return AdministrateAPI.CoinDesk() elif Utils.niceHashRequest(8, page_id) != None: return AdministrateAPI.NiceHash() elif Utils.coinBaseRequest(3, page_id) != None: return AdministrateAPI.CoinBase() elif Utils.blockChainRequest(4, page_id) != None: return AdministrateAPI.BlockChain() elif Utils.bitStampJSON(3, page_id) != None: return AdministrateAPI.BitStamp() elif Utils.comparationRequests(2, page_id) != None: return AdministrateAPI.comparationAPI() else: return Utils.showMessage(None, "0x20")
def landing_sub_pages_4(page_id, page_subid, page_subid_2, page_subid_3, page_subid_4): if Utils.coinDeskJSON(6, page_id) != None: if Utils.coinDesk_infoCurrencies(page_subid) != None: if Utils.coinDeskJSON(7, page_subid_2) != None: if page_subid_3 == page_subid or page_subid_3 == "usd": if Utils.coinDeskJSON(5, page_subid_4) != None: return AdministrateAPI.CoinDesk( page_subid_2, page_subid_3.upper(), page_subid_4, page_subid.upper()) else: return Utils.showMessage(None, "0x80") else: return Utils.showMessage(None, "0x81") else: return Utils.showMessage(None, "0x82") else: return Utils.showMessage(None, "0x83") elif Utils.niceHashRequest(8, page_id) != None: if Utils.check_bc(page_subid) == True: if Utils.niceHashRequest(9, page_subid_2) != None: if Utils.niceHashRequest(10, page_subid_3) != None: if Utils.niceHashRequest(3, page_subid_4) != None: return AdministrateAPI.NiceHash( page_subid, page_subid_2, page_subid_3, page_subid_4) else: return Utils.showMessage(None, "0x84") else: return Utils.showMessage(None, "0x85") elif Utils.niceHashRequest(11, page_subid_2) != None: if Utils.niceHashRequest(10, page_subid_3) != None: if Utils.niceHashRequest(4, page_subid_4) != None: return AdministrateAPI.NiceHash( page_subid, page_subid_2, page_subid_3, page_subid_4) else: return Utils.showMessage(None, "0x86") else: return Utils.showMessage(None, "0x87") else: return Utils.showMessage(None, "0x88") else: return Utils.showMessage("Invalid wallet address.", "0x89") else: return Utils.showMessage(None, "0x90")
def landing_sub_pages(page_id, page_subid): if Utils.coinDeskJSON(6, page_id) != None: comparation_Coindesk = Utils.coinDeskJSON(1, page_subid) if comparation_Coindesk != None: return AdministrateAPI.CoinDesk(comparation_Coindesk) elif Utils.coinDesk_infoCurrencies(page_subid) != None: return AdministrateAPI.CoinDesk(None, None, None, page_subid) else: return Utils.showMessage(None, "0x30") elif Utils.blinkTradeRequest(3, page_id) != None: verification_BlinkTrade = Utils.blinkTradeRequest(1, page_subid) if verification_BlinkTrade != None: return AdministrateAPI.BlinkTrade(None, verification_BlinkTrade) else: return Utils.showMessage(None, "0x31") elif Utils.mercadoBitCoinRequest(3, page_id) != None: verification_MercadoBitCoin = Utils.mercadoBitCoinRequest( 1, page_subid) if verification_MercadoBitCoin != None: return AdministrateAPI.MercadoBitCoin(verification_MercadoBitCoin) else: return Utils.showMessage(None, "0x32") elif Utils.niceHashRequest(8, page_id) != None: if Utils.check_bc(page_subid) == True: return AdministrateAPI.NiceHash(page_subid) else: return Utils.showMessage("Invalid wallet address.", "0x33") elif Utils.coinBaseRequest(3, page_id) != None: if Utils.coinBaseRequest(1, page_subid) != None: return AdministrateAPI.CoinBase(None, page_subid) elif Utils.coinBase_infoCurrencies(page_subid) != None: return AdministrateAPI.CoinBase(page_subid) else: return Utils.showMessage(None, "0x34") elif Utils.blockChainRequest(4, page_id) != None: coinRequest = Utils.blockChain_autoSelectCoin(page_subid) if coinRequest != None: return AdministrateAPI.BlockChain(page_subid.upper()) elif Utils.blockChainRequest(1, page_subid) != None: return AdministrateAPI.BlockChain(None, page_subid) elif Utils.blockChainRequest(5, page_subid) != None: return Utils.showMessage( "Welcome to BlockChain API, here we will convert your currency to Bitcoin." ) else: return Utils.showMessage(None, "0x35") elif Utils.bitStampJSON(3, page_id) != None: return AdministrateAPI.BitStamp(page_subid) elif Utils.comparationRequests(2, page_id) != None: if Utils.comparationRequests(1, page_subid) != None: return AdministrateAPI.comparationAPI(page_subid) else: return Utils.showMessage(None, "0x36") else: return Utils.showMessage(None, "0x37")
def landing_sub_pages_5(page_id, page_subid, page_subid_2, page_subid_3, page_subid_4, page_subid_5): if Utils.niceHashRequest(8, page_id) != None: if Utils.check_bc(page_subid) == True: if Utils.niceHashRequest(9, page_subid_2) != None: if Utils.niceHashRequest(10, page_subid_3) != None: if Utils.niceHashRequest(3, page_subid_4) != None: if Utils.niceHashRequest( 12, page_subid_4) != None and ( Utils.niceHashRequest( 3, page_subid_5) != None): return AdministrateAPI.NiceHash( page_subid, page_subid_2, page_subid_3, page_subid_4, page_subid_5) elif Utils.niceHashRequest(13, page_subid_4) != None: try: tryConvert = int(page_subid_5) sizePayments = (Utils.nicehash_GetLength( page_subid, page_subid_2, page_subid_3, page_subid_4) - 1) if tryConvert <= sizePayments: # page_subid_5 return AdministrateAPI.NiceHash( page_subid, page_subid_2, page_subid_3, page_subid_4, tryConvert) else: return Utils.showMessage(None, "0x100") except Exception: comparation_NiceHash = Utils.niceHashRequest( 6, page_subid_5) if comparation_NiceHash != None: return AdministrateAPI.NiceHash( page_subid, page_subid_2, page_subid_3, page_subid_4, 0, comparation_NiceHash, 2) else: return Utils.showMessage(None, "0x101") elif Utils.niceHashRequest(12, page_subid_4) != None: try: tryConvert = int(page_subid_5) sizePayments = (Utils.nicehash_GetLength( page_subid, page_subid_2, page_subid_3, page_subid_4) - 1) if tryConvert <= sizePayments: return AdministrateAPI.NiceHash( page_subid, page_subid_2, page_subid_3, page_subid_4, page_subid_5) else: return Utils.showMessage(None, "0x102") except Exception: return Utils.showMessage(None, "0x103") else: return Utils.showMessage(None, "0x104") else: return Utils.showMessage(None, "0x105") else: return Utils.showMessage(None, "0x106") else: return Utils.showMessage(None, "0x107") else: return Utils.showMessage("Invalid wallet address.", "0x108") else: return Utils.showMessage(None, "0x109")
def landing_sub_pages_3(page_id, page_subid, page_subid_2, page_subid_3): if Utils.coinDeskJSON(6, page_id) != None: if Utils.coinDeskJSON(7, page_subid) != None: comparation_CoinDesk_1 = Utils.coinDeskJSON(2, page_subid_2) if comparation_CoinDesk_1 != None: if Utils.coinDeskJSON(5, page_subid_3) != None: return AdministrateAPI.CoinDesk(page_subid, comparation_CoinDesk_1, page_subid_3) else: return Utils.showMessage(None, "0x60") else: return Utils.showMessage(None, "0x61") elif Utils.coinDesk_infoCurrencies(page_subid) != None: if Utils.coinDeskJSON(7, page_subid_2) != None: if page_subid_3 == page_subid or page_subid_3 == "usd": return AdministrateAPI.CoinDesk(page_subid_2, page_subid_3.upper(), None, page_subid.upper()) else: return Utils.showMessage(None, "0x62") elif Utils.coinDeskJSON(8, page_subid_2) != None: comparation_CoinDesk_2 = Utils.coinDeskJSON(3, page_subid_3) if comparation_CoinDesk_2 != None: return AdministrateAPI.CoinDesk(page_subid_2, comparation_CoinDesk_2, None, page_subid.upper()) else: return Utils.showMessage(None, "0x63") else: return Utils.showMessage(None, "0x64") else: return Utils.showMessage(None, "0x65") elif Utils.niceHashRequest(8, page_id) != None: if Utils.check_bc(page_subid) == True: if Utils.niceHashRequest(1, page_subid_2) != None: if Utils.niceHashRequest(2, page_subid_3) != None: return AdministrateAPI.NiceHash(page_subid, page_subid_2, page_subid_3) else: return Utils.showMessage(None, "0x66") else: return Utils.showMessage(None, "0x67") else: return Utils.showMessage("Invalid wallet address.", "0x68") elif Utils.coinBaseRequest(3, page_id) != None: if Utils.coinBase_infoCurrencies(page_subid) != None: if Utils.coinBaseRequest(1, page_subid_2) != None: if Utils.coinBaseRequest(2, page_subid_3) != None: return AdministrateAPI.CoinBase(page_subid, page_subid_2, page_subid_3) else: return Utils.showMessage(None, "0x69") else: return Utils.showMessage(None, "0x70") else: return Utils.showMessage(None, "0x71") elif Utils.blockChainRequest(4, page_id) != None: if Utils.blockChainRequest(5, page_subid) != None: coinRequest = Utils.blockChain_autoSelectCoin(page_subid_2) if coinRequest != None: try: tryConvert = int(page_subid_3) return jsonify(currency=coinRequest.upper(), value_BTC=Utils.converterToBTC( coinRequest.upper(), tryConvert)) except Exception: coinRequest_2 = Utils.blockChain_autoSelectCoin( page_subid_3) if coinRequest != None and coinRequest_2 != None: return jsonify(currency=Utils.currencyConverter( coinRequest.upper(), coinRequest_2.upper()), ) else: return Utils.showMessage(None, "0x72") else: return Utils.showMessage(None, "0x73") elif Utils.blockChainRequest(6, page_subid) != None: coinRequest_2 = Utils.blockChain_autoSelectCoin(page_subid_2) if coinRequest_2 != None: if Utils.blockChainRequest(2, page_subid_3) != None: return AdministrateAPI.BlockChain(coinRequest_2.upper(), page_subid_3) else: return Utils.showMessage(None, "0x74") else: return Utils.showMessage(None, "0x75") else: return Utils.showMessage(None, "0x76") elif Utils.bitStampJSON(3, page_id) != None: if Utils.bitStampJSON(1, page_subid_2) != None: if Utils.bitStampJSON(2, page_subid_3) != None: return AdministrateAPI.BitStamp(page_subid, page_subid_2, page_subid_3) else: return Utils.showMessage(None, "0x77") else: return Utils.showMessage(None, "0x78") else: return Utils.showMessage(None, "0x79")
def landing_sub_pages_2(page_id, page_subid, page_subid_2): if Utils.coinDeskJSON(6, page_id) != None: if Utils.coinDeskJSON(7, page_subid) != None: comparation_CoinDesk_1 = Utils.coinDeskJSON(2, page_subid_2) if comparation_CoinDesk_1 != None: return AdministrateAPI.CoinDesk(page_subid, comparation_CoinDesk_1) else: return Utils.showMessage(None, "0x40") elif Utils.coinDeskJSON(8, page_subid) != None: comparation_CoinDesk_2 = Utils.coinDeskJSON(3, page_subid_2) if comparation_CoinDesk_2 != None: return AdministrateAPI.CoinDesk(page_subid, comparation_CoinDesk_2) else: return Utils.showMessage(None, "0x41") elif Utils.coinDesk_infoCurrencies(page_subid) != None: if Utils.coinDeskJSON(4, page_subid_2) != None: return AdministrateAPI.CoinDesk(page_subid_2, None, None, page_subid.upper()) else: return Utils.showMessage(None, "0x42") else: return Utils.showMessage(None, "0x43") elif Utils.blinkTradeRequest(3, page_id) != None: comparation_BlinkTrade = Utils.blinkTradeRequest(1, page_subid) if comparation_BlinkTrade != None: if Utils.blinkTradeRequest(2, page_subid_2) != None: return AdministrateAPI.BlinkTrade(page_subid_2, comparation_BlinkTrade) else: return Utils.showMessage(None, "0x44") else: return Utils.showMessage(None, "0x45") elif Utils.mercadoBitCoinRequest(3, page_id) != None: verification_MercadoBitCoin = Utils.mercadoBitCoinRequest( 1, page_subid) if verification_MercadoBitCoin != None: if Utils.mercadoBitCoinRequest(2, page_subid_2) != None: return AdministrateAPI.MercadoBitCoin( verification_MercadoBitCoin, page_subid_2) else: return Utils.showMessage(None, "0x46") else: return Utils.showMessage(None, "0x47") elif Utils.niceHashRequest(8, page_id) != None: if Utils.check_bc(page_subid) == True: if Utils.niceHashRequest(1, page_subid_2) != None: return AdministrateAPI.NiceHash(page_subid, page_subid_2) else: return Utils.showMessage(None, "0x48") else: return Utils.showMessage("Invalid wallet address.", "0x49") elif Utils.coinBaseRequest(3, page_id) != None: if Utils.coinBaseRequest(1, page_subid) != None: if Utils.coinBaseRequest(2, page_subid_2) != None: return AdministrateAPI.CoinBase(None, page_subid, page_subid_2) else: return Utils.showMessage(None, "0x50") elif Utils.coinBase_infoCurrencies(page_subid) != None: if Utils.coinBaseRequest(1, page_subid_2) != None: return AdministrateAPI.CoinBase(page_subid, page_subid_2) else: return Utils.showMessage(None, "0x51") else: return Utils.showMessage(None, "0x52") elif Utils.blockChainRequest(4, page_id) != None: coinRequest = Utils.blockChain_autoSelectCoin(page_subid) if coinRequest != None: if Utils.blockChainRequest(2, page_subid_2) != None: return AdministrateAPI.BlockChain(page_subid.upper(), page_subid_2) else: return Utils.showMessage(None, "0x53") elif Utils.blockChainRequest(6, page_subid) != None: coinRequest_2 = Utils.blockChain_autoSelectCoin(page_subid_2) if coinRequest_2 != None: return AdministrateAPI.BlockChain(coinRequest_2.upper()) else: return Utils.showMessage(None, "0x54") elif Utils.blockChainRequest(7, page_subid) != None: if Utils.blockChainRequest(3, page_subid_2) != None: return AdministrateAPI.BlockChain(None, page_subid, page_subid_2) else: return Utils.showMessage(None, "0x55") elif Utils.blockChainRequest(5, page_subid) != None: coinRequest_3 = Utils.blockChain_autoSelectCoin(page_subid_2) if coinRequest_3 != None: return jsonify( currency=Utils.currencyConverter(coinRequest_3.upper()), value_BTC=Utils.converterToBTC(coinRequest_3.upper())) else: return Utils.showMessage(None, "0x56") else: return Utils.showMessage(None, "0x57") elif Utils.bitStampJSON(3, page_id) != None: if Utils.bitStampJSON(1, page_subid_2) != None: return AdministrateAPI.BitStamp(page_subid, page_subid_2) else: return Utils.showMessage(None, "0x58") else: return Utils.showMessage(None, "0x59")