ronaldlam / Autotrageur

Automated arbitrageur
2 stars 1 forks source link

Implement a twilio client for priority notifications. Uses environment variables. #145

Closed jaonewguy closed 6 years ago

jaonewguy commented 6 years ago

For #129

Decided to experiment with environment variables instead of adding another password prompt (have three already). I think we may want to start going the env var route for key/secrets which don't require 100% paranoia protection. Let me know what you think.

Still need:

Resources: Twimlets: https://www.twilio.com/labs/twimlets/message Env Vars Lib: https://github.com/theskumar/python-dotenv Twilio Env vars blog: https://www.twilio.com/blog/2017/01/how-to-set-environment-variables.html Path lib: https://docs.python.org/3/library/pathlib.html Twilio API Ref: https://www.twilio.com/docs/usage/api/accounts

ronaldlam commented 6 years ago

Lol didn't read that comment up there

jaonewguy commented 6 years ago

The logging task got pretty hairy, altered more code than I thought I would have to. Let me know what you think first and then I'll proceed with tests and the last comment.