Skip to content

rhlmshr/TV-Series-Status-Email-Notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

TV-Series-Status-Email-Notifier

This project was created for the Hacker Camp 2018 organised by Innovaccer. The task description for the following can be found here.

Getting Started

This project demonstrates on finding the release date and status of any TV series. For this I have used an open API known as TV Maze.

Build with

  • Python3
  • SQLiteDb
  • Rest Api

Configuration

Put your Email credentials in the script before getting started:

#Put your credentials here:
  user = 'abc@xyz.com'
  password = 'abcd@1234'

This will be the account which will be used by SMTP for sending TV Series Status Mails to the provided Email in the console on runtime.

How to work

Put your email address where you want the status info and give the list of names of TV series separated by a comma(,). This will store the information to the SQLite Db in Ram and generate an endpoint for the list provided and construct a email body with info needed. That info will be sent to the Email address provided earlier.

Running

Sample input:

Email Address: 'abc@xyz.in'
TV Series: friends, gotham, big bang theory, game of thrones

Mail Format:

Tv series name: Friends
Status: The show has finished streaming all its episodes. 

Tv series name: Gotham
Status: The next episode airs on 2019-03-15 

Tv series name: The Big Bang Theory
Status: The next episode airs on 2018-10-18 

Tv series name: Game of Thrones
Status: The show is running but airing date is not determined

Video Demo

You can also watch the live demo here.

About

Python Script working with SMTP, SQLite and Rest Api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages