Skip to content

Script that will keep you notified about the results of your favourite football team!

Notifications You must be signed in to change notification settings

matixezor/result-notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

result-notifier

This script uses api-football to get the data about matches. And to send you notifications it's using IFTTT webhooks and notifications.

Example Message

Imgur

Setup

To use this script you will need to do a few things first!

  1. Install requests:

     pip install requests
    
  2. Create an rapidapi account and add api-football to your apps. Don't worry they have a plan that is charge free.

  3. Create an IFTTT account and install their app on your phone.

  4. Create an IFTTT applet

    Follow these steps:

    • Click on the this button
    • Search for the webhooks service and select Receive a web request
    • Name your event
    • Click on the that button
    • Search for notifications service and select Send a notification from the IFTTT app
    • Change the message to your liking! Use {{Value1}}, {{Value2}} and {{Value3}}. Value1 will be the name of the competition and Value2 will be team1 score team2, Value3 will be the information about goalscorers
    • Click on the Finish button
  5. Edit the configure.py file. :

    • Fill in your X-RapidAPI-Key
    • Fill in your team identifier

    These two above will be found here

    • Fill in the event name from your IFTTT app
    • Fill in your IFTTT Key. You can find it in webhooks settings

With all these steps you should be good to go! As this script is running 24/7 it's best to use it on for example Raspberry pi or a python hosting service

Releases

No releases published

Packages

No packages published

Languages