Machstatz backend intern hiring task

Installation

run pip install -r requirements.txt

python app.py

To use API

For Question 1 : GET https://backendinterntask.herokuapp.com/Q1/2021-01-28T12:00:00Z/2021-01-28T19:00:00Z

For Question 2 : GET https://backendinterntask.herokuapp.com/Q2/2021-01-28T12:00:00Z/2021-01-28T19:00:00Z

For Question 3 : GET https://backendinterntask.herokuapp.com/Q3/2021-01-28T12:00:00Z/2021-01-28T19:00:00Z

For custom endpoints replace dates in the URLs

Format for startTime and endTime:

%Y-%m-%dT%H:%M:%SZ ex : 2021-01-28T12:00:00Z