Api requests

Reworked my api branch to use requests library and be pep8 valid.