Api is now API. Fixed PEP-8 errors.