Giter Site home page Giter Site logo

messagesender's Introduction

README

You will need

  • A google sheet, with phone numbers in the A column, and a message in the B column.
    • Make sure numbers are correctly formatted, i.e. "079892 443 993" becomes "+4479892443993"
  • A twilio account, with paid-up billing.

You will need a Google developer account to use the sheets API. https://developers.google.com/sheets/api/quickstart/python

I believe I wrote this with Python3 in mind, but it might still be using Python. Make sure you have installed the following:

pip3 install google-api-python-client httplib2 oauth2client twilio-python

If needed, you can bypass the Google sheets interface entirely, just comment out the apiclient and oauth2client imports on lines 3 and 4, and lines 9-23. You can then directly input an array of correctly formatted numbers in the numbers variable on line 32, and uncomment the message variable on line 50.

DEADLY IMPORTANT

To save on costly messages, make sure your message content is correctly GSM encoded. Check any outgoing messages here first: http://chadselph.github.io/smssplit/. Remove any red-underlined content.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.