A Python application that sends you a SMS when the football team you support scores.
Switch branches/tags
Nothing to show
Clone or download
c-mnzs Merge pull request #1 from bennuttall/patch-1
Make todo list items checkboxes
Latest commit a24cc16 Aug 4, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitattributes Initial commit Jun 19, 2018
.gitignore Added .gitignore Jun 19, 2018
LICENSE Initial commit Jun 19, 2018
README.md
app.py Update Jun 19, 2018
config.ini First Commit Jun 19, 2018
config.py First Commit Jun 19, 2018
requirements.txt
scrapegoals.py First Commit Jun 19, 2018

README.md

footballNotifier

A Python application that sends you a SMS when the football team you support scores.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

  1. Download and install Python 3.6.
  2. Clone this repository.
  3. Open the terminal, navigate to the folder where your clone of this repository is located and type:

$ pip install -r requirements.txt

This will install all the necessary packages to run this script.

  1. Open config.ini.
  • 4.1. Add in your NUMBER and TEAM (e.g: Portugal, Sweden, Real Madrid)
  • 4.2. Go to Textlocal, register an account and then create an API_KEY here. Copy the API_KEY key and fill it in config.ini accordingly.
  1. Type $ python app.py in the terminal and the script will run for as long as you let it.

Textlocal has a limit of 10 messages per month, so let's hope your team doesn't score more than 10 goals per month!

If you follow these steps, you will receive a message on your phone when your team scores, as seen below: Example

To-Do

  • Add support for multiple teams.

  • Deploy the project on GitHub pages and allow more people to use this without having to install Python on their machine.

  • Probably re-do a lot of the code. I'm sure there are a lot of things I can optimize. I appreciate any PRs! :)

Thanks for checking the project!