Skip to main content

As more and more suffering it taking place in the 'verse you need that edge to find that ellusive 20 $bob faucet ... made your trying to get a light vehicle to move around faster 25 $slag is they key there, maybe you need that 200 $grease or its that 150 $INK you crave to leave your mark on the world. whatever it is here is a little helper script

support the work and coding efforts to keep up with the 'verse. To use this tool you will need some knowledge of python coding language ... but don't dispair python is installable for your OS copy pasta the source code provided below and check it out look at it ...LOOK AT IT!!!!

'''code to follow'''


import wx  
import requests  
import datetime  
baseUrl = "https://api.tmwstw.io/faucet_state=" 
faucetType = ["bob", "slag", "grease", "ink"]


class CheckFaucet(wx.Frame):

    def __init__(self, parent, title):  
        super(CheckFaucet, self).__init__(parent, title=title, size=(400, 400))

        panel = wx.Panel(self)

        sizer = wx.BoxSizer(wx.VERTICAL)

        self.text_ctrl = wx.TextCtrl(panel, style=wx.TE_MULTILINE)  
        sizer.Add(self.text_ctrl, 1, wx.EXPAND)  
        font = wx.Font(12, wx.FONTFAMILY_DEFAULT,  
                       wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_BOLD)  
        self.text_ctrl.SetFont(font)

        button_sizer = wx.BoxSizer(wx.HORIZONTAL)

        for faucet in faucetType:  
            button = wx.Button(panel, label=faucet)  
            button.Bind(wx.EVT_BUTTON, lambda event,  
                        faucet=faucet: self.fetch_faucet_data(faucet))  
            button_sizer.Add(button, 1, wx.EXPAND)

        sizer.Add(button_sizer, 0, wx.EXPAND)

        panel.SetSizer(sizer)

        self.Show(True)

    def fetch_faucet_data(self, faucet):  
        url = baseUrl + faucet  
        # print(url)  
        response = requests.get(url)  
        data = response.json()  
        fresh_data = []  
        for item in data:  
            if item[1] != 0:  
                fresh_data.append(item[0])  
        timestamp = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")  
        fresh_data.append([timestamp])  
        self.text_ctrl.SetValue(str(fresh_data))


app = wx.App()  
frame = CheckFaucet(None, "Check Faucet Status")  
app.MainLoop()


'''code done'''

DYOR please don't blindly copy and paste code from website or anyone without knowing what you are doing ! check my other works for the verse at https://tmwttw.imamkatz.com/

This collection has no description yet.

Contract Address0xe68c...75db
Token ID24
Token StandardERC-721
ChainEthereum
Last Updated27 days ago
Creator Earnings
0%

Tooling up yo!

visibility
3 views
  • Price
    USD Price
    Quantity
    Expiration
    From
  • Price
    USD Price
    Quantity
    Floor Difference
    Expiration
    From
keyboard_arrow_down
Event
Price
From
To
Date

Tooling up yo!

visibility
3 views
  • Price
    USD Price
    Quantity
    Expiration
    From
  • Price
    USD Price
    Quantity
    Floor Difference
    Expiration
    From

As more and more suffering it taking place in the 'verse you need that edge to find that ellusive 20 $bob faucet ... made your trying to get a light vehicle to move around faster 25 $slag is they key there, maybe you need that 200 $grease or its that 150 $INK you crave to leave your mark on the world. whatever it is here is a little helper script

support the work and coding efforts to keep up with the 'verse. To use this tool you will need some knowledge of python coding language ... but don't dispair python is installable for your OS copy pasta the source code provided below and check it out look at it ...LOOK AT IT!!!!

'''code to follow'''


import wx  
import requests  
import datetime  
baseUrl = "https://api.tmwstw.io/faucet_state=" 
faucetType = ["bob", "slag", "grease", "ink"]


class CheckFaucet(wx.Frame):

    def __init__(self, parent, title):  
        super(CheckFaucet, self).__init__(parent, title=title, size=(400, 400))

        panel = wx.Panel(self)

        sizer = wx.BoxSizer(wx.VERTICAL)

        self.text_ctrl = wx.TextCtrl(panel, style=wx.TE_MULTILINE)  
        sizer.Add(self.text_ctrl, 1, wx.EXPAND)  
        font = wx.Font(12, wx.FONTFAMILY_DEFAULT,  
                       wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_BOLD)  
        self.text_ctrl.SetFont(font)

        button_sizer = wx.BoxSizer(wx.HORIZONTAL)

        for faucet in faucetType:  
            button = wx.Button(panel, label=faucet)  
            button.Bind(wx.EVT_BUTTON, lambda event,  
                        faucet=faucet: self.fetch_faucet_data(faucet))  
            button_sizer.Add(button, 1, wx.EXPAND)

        sizer.Add(button_sizer, 0, wx.EXPAND)

        panel.SetSizer(sizer)

        self.Show(True)

    def fetch_faucet_data(self, faucet):  
        url = baseUrl + faucet  
        # print(url)  
        response = requests.get(url)  
        data = response.json()  
        fresh_data = []  
        for item in data:  
            if item[1] != 0:  
                fresh_data.append(item[0])  
        timestamp = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")  
        fresh_data.append([timestamp])  
        self.text_ctrl.SetValue(str(fresh_data))


app = wx.App()  
frame = CheckFaucet(None, "Check Faucet Status")  
app.MainLoop()


'''code done'''

DYOR please don't blindly copy and paste code from website or anyone without knowing what you are doing ! check my other works for the verse at https://tmwttw.imamkatz.com/

This collection has no description yet.

Contract Address0xe68c...75db
Token ID24
Token StandardERC-721
ChainEthereum
Last Updated27 days ago
Creator Earnings
0%
keyboard_arrow_down
Event
Price
From
To
Date