/Automatic-sending-message

Send the message to arrive at a specific time using twilio

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Automatic-sending-message

Send the message to arrive at a specific time using twilio

  • master branch: automatically send messages at a specific time using github action.
  • local branch: can test directly in the local environment.



File Structure

.
├─ .github
│  └─ workflows
│     └─ setting.yml
├─ images
│  └─ example.jpeg
│  └─ github secrets.png
├─ .gitignore
├─ LICENSE
├─ README.md
├─ requirements.txt
├─ run.py
└─ student.py



How to use

  • master branch:
  • local branch:
    • Download this repository and install requirements.txt
      git clone https://github.com/ruby-kim/Automatic-sending-message.git
      cd Automatic-sending-messsage
      pip3 install -r requirements.txt
    • create .env and set the variables
      # example
      ACCOUNT_SID="YOUR ACCOUNT SID"
      AUTH_TOKEN="YOUR AUTH TOKEN"
      
      ONLINE_PHONE_NUMBER = "+12673..."  # your twilio phone number
      MY_PHONE_NUMBER = "+8210..."       # your mobile phone number
      
      STUDENT_1_NAME=James
      STUDENT_1_DATE_1=Tue
      STUDENT_1_DATE_2=Sat
      STUDENT_1_TIME_1=7 p.m.
      STUDENT_1_TIME_2=10 a.m.
    • run run.py
      python3 run.py



License

GNU General Public License v3.0



Bug & Function Request

Please create issues here



Developer