Update api_service.py

I noticed that on windows the 'requests' package does not work. According to this link - http://goo.gl/iodz4l - requests-transistions should be used instead. 

Also, requirements.txt should be changed to include import os.