Skip to content

jack19910609/python_PhoneCall

Repository files navigation

python_PhoneCall

Table of Contents

BackGround

使用Python串接TWILIO API實現網路撥打電話,傳送SMS

Installation

你可以使用以下方法安裝python_PhoneCall

  1. From Http https://github.com/jack19910609/python_PhoneCall.git
  2. From SSH [email protected]:jack19910609/python_PhoneCall.git
  • You can cloan this projet useing any svn Tool or github Tool

Requirement

Python : 3.10.5

Twilio : 7.11.0

Pygsheets : 2.0.5

Usage

  • TWILIO

3. Settint Environment Variables

  • Stpe1 - Click Environment Variables

    image

  • Stpe2 - Click Add

    image

  • Stpe3 - Input Variable Name and Value

    image

    Variable Name Set as "TWILIO_ACCOUNT_SID" & "TWILIO_AUTH_TOKEN"

    Value Set by Twilio Consol Page

    image

  • Pygsheets

2. Setting Google Sheets API

  • Step1 - Create New Project

    image

  • Step2 - Choose a Projec

    image

  • Step3 - Enable Google Sheets API

    image

  • Step4 - Create credentials

    image

  • Step5 - 在 Google Sheet 裡面,授權給剛剛在 GCP 申請的服務帳號 ID

    image

    image

  1. Settint Environment Variables
  • Step1 - Input Variable Name and Value

    image

    Variable Name Set as "PYGSHEETS_SERVICE_FILE_PATH" & "PYGSHEETS_OPEN_URL"

    "PYGSHEETS_SERVICE_FILE_PATH" Value Set as 金鑰json檔儲存位置

    image

    "PYGSHEETS_OPEN_URL" Value Set as Google sheet URL

    image

  • 建立批次檔

    @echo off

    start cmd /k "e: &&cd gitProject &&cd phone-call &&venv\Scripts\activate &&python call.py"

    image

Maintainers

@Jimmy.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages