Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

Does not work with Twilio 6.x.x #38

Open
jpgavin opened this issue Apr 10, 2017 · 0 comments
Open

Does not work with Twilio 6.x.x #38

jpgavin opened this issue Apr 10, 2017 · 0 comments

Comments

@jpgavin
Copy link

jpgavin commented Apr 10, 2017

When installing Twilio (pip install twilio), as of today, the Twilio version is 6.0.0, which uses a slightly different import and initialization. As detailed in Twilio's migration guide, the following changes are required in ge-checker-cron.py

  1. from twilio.rest import TwilioRestClient needs to change to from twilio.rest import Client
  2. client = TwilioRestClient(account_sid, auth_token) needs to change to client = Client(account_sid, auth_token)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant