E
ekjr

  • Level 2 - Senior Member
  • Dec 27, 2024
  • Joined Aug 23, 2022
  • 5 points
  • In ADB

    Btw Postmates isn't letting me login.

  • Biden2020prez I tried using groupME api but you can't mute every body and all other texting api's that I know of charge.

    • you can text a email

      • EekjrLevel 2 - Senior Member

        • Edited

        Here's a python script that emails you back BARD answers.
        place the question in the subject field of you email.
        the script will be checking a label in your emails called bard (so you have to set that up and set a filter)
        see [Login to see the link] to get a bard token.
        for the email password go to [Login to see the link] and select mail and generate a password
        proper git hub and post coming soon

        import email
        import imaplib
        import smtplib
        import time
        from bardapi import Bard
        from email import message_from_string
        
        user = 'youremail@gmail.com'
        password = 'Yourpassword'
        token = 'you bard token'
        
        def check(q, to, token, user, password):
            bard = Bard(token=token)
            print(q)
            resp = bard.get_answer(q)['content']
            print(resp)
            send(resp, to, user, password)
        
        def send(body, to, user, password):
            server = smtplib.SMTP('smtp.gmail.com',587)
            server.ehlo()
            server.starttls()
            server.ehlo()
            server.login(user,password)
        
            subject = 'Yeshvish Bard'
        
            msg = f'Subject: {subject}\n\n{body}'
        
            server.sendmail(user,to,msg)
            print('sent')
            server.quit()
        
        def main(user,password):
            mail = imaplib.IMAP4_SSL('imap.gmail.com')
            mail.login(user,password)
            mail.list()
            mail.select("bard")
            result, data = mail.search(None, "ALL")
        
            ids = data[0]
            id_list = ids.split()
            latest_email_id = id_list[-1]
        
            result, data = mail.fetch(latest_email_id, "(RFC822)") 
        
            msg = email.message_from_string(data[0][1].decode('utf-8'))
            
            return msg
        
        global code1
        code1 = main(user, password)['Message-ID']
        
        while(True):
            msg = main(user,password)
            ID = msg['Message-ID']
            if ID != code1:
                try:
                    msg1 = msg['subject']
                    print(msg1)
                    to = msg['Return-Path']
                    to = str(to)
                    to = to.strip('<')
                    to = to.strip('>')
                    check(msg1, to, token)
                    code1 = ID
                except:
                    print("err")
                time.sleep(5)
          • EekjrLevel 2 - Senior Member

            Do i have to select auto pay because they're not letting me unlock my phone.

          • Uber eats or Postmates

            • jack replied to this.
            • Does google contacts need google play services?

              • sort of got the pointer to work.

              • is the pointer supposed to work

              • can some one make all these numbers into contact cards for easy download.

                • Biden2020prez could you make a option in the key shortcuts for this recent apps.

                • Atusb try adb kill-server in the command prompt.

                • [Login to see the link]
                  1) Maps doesn't work any more it tells me i have to update it.
                  2) In the notes to install voice access the command to delete the old voice thing there's a ` at the end and it's not meant to be there.