What you'll need

  1. Join the 46elks Slack workspace or the Slack space of your choice ofc πŸ‘πŸΌ
  2. Create a 46elks account
  3. A virtual number We have set you up with a Swedish phone number on your account that you can use for free during one year
  4. A live server to run your code on. Text your first name to +46766865445 to get an account on our live workshop server. You'll need this SMS for the next steps β¬‡οΈ
  5. SMS account

What we're doing today

Be patient with yourself and others. We'll help each other out!
If you need help during the workshop, just write in the chat or ask one of us for help and we'll fix it together πŸ‘πŸΌ

Send SMS with Python

Log in to the server


      

Send a SMS

Terminology to know about APIs

Now you have sent your first SMS with Python - Quick and easy as that!  πŸ“²
There are a couple of words that you'll want to know about when working with APIs, it will make it easier for you to troubleshoot and find help.

Set up Slack app and webhook

Set up a Flask app and our Python code

Configure our 46elks number

Let's see if it works

Start the Flask app

Now we start our Flask app in the command line and see if it works

Now you send a SMS to your virtual number and see if it gets forwarded to your Slack channel - Let's test it and see what happens πŸš€

Resources

The full code is here in case something happened to yours on the way