Skip to content

This is a project for HackerCamp'19 by Innovaccer: SDE-Intern (Platform)

Notifications You must be signed in to change notification settings

ayush-vibrant/Serioholic-TV-Series-Reminder-Innovacer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serioholic: TV-Series Reminder -Innovacer

This is a project for HackerCamp'19 by Innovaccer: SDE-Intern (Platform)

Please find the problem statement here.

Getting started with the service

  1. Install python 2.7.12 from [here] (https://www.python.org/downloads/release/python-2712/)
  2. Clone the repository using git clone -b master https://github.com/ayush-vibrant/Serioholic-TV-Series-Reminder-Innovacer.
  3. Install python-dotenv from here
  4. For security reasons file with details of database and sender's account credentials is not commited on git. So create a file .env in the root folder with the following contents,
FROM_EMAIL = 'MY_EMAIL'
PASSWORD = 'MY_EMAIL_PASSWORD'  
host="MY_HOST"
user="MY_USER"     
password="MY_PASSWORD"  

  1. Run main.py to start the project

Prerequisites

  • All the scipts that I have created were tested successfully on Linux based OSes with Python 2.7.12 installed on the system.

Description

  • Aforementioned script requires email address and list of favourite TV series for multiple users as input. The prompt is as follows:
    Email address: [email protected]
    TV Series: Game of thrones, suits, friends, black mirror, gotham
  • The script (database.py) stores the input data in series table in MySQLdb named mydatabase.
  • A single email is sent to the input email address with all the appropriate response for every TV series. The content of the mail depends on the following use cases:
  1. Exact date is mentioned for next episode.
  2. Only year is mentioned for next season.
  3. All the seasons are finished and no further details are available.

Below picture shows the sample e-mail response genereated by the utility.py.

About

This is a project for HackerCamp'19 by Innovaccer: SDE-Intern (Platform)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages