Adding pip requirements
should be more pythonic now
fixed a syntax error and added import requests
Fixed some erros in working time