Skip to content

A simple python script to fetch cricket scores and send notifications.

License

Notifications You must be signed in to change notification settings

dhawalkgupta90/scorer.py

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scorer.py

A simple python script to fetch cricket scores and send notifications.

alt tag

Features

  • Allows you to choose from concurrent matches
  • Change choice by Ctrl+C
  • Quit by Ctrl+C twice
  • Shows notification only if there's a change in the score (run or wicket)
  • Should work with python2 or python3

Requirements

  • Install python dependencies using pip install -r requirements.txt
  • libnotify, BeautifulSoup
  • Internet connection

Usage

python scorer.py

Todo

  • Use argparse to add some command line arguments like debug etc.
  • Use the pushbullet api and allow users to get notifications on their devices using pushbullet.
  • Use telegram api to make something similar to Natasha on hike.
  • Use the matchid from current url and use the cricinfo api to get other notification like overs, batsmen playing, and other such stats when there is no change in the score.
  • create a command line option to run this notification system as a GUI.
  • Use twitter api to get the latest tweets based on match hastags and use it to feed the notifications when there is no score change.
  • Use a configuration file
  • Use arrows to navigate the command line interface.
  • Add documentation
  • Add an option for proxy server host and port That's all I could think for now.

NOTE: Works on Linux only. For OS X version, check this project.

About

A simple python script to fetch cricket scores and send notifications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%