Autopep8
Add custom exception type (better than returning a string error - easier to catch), made internal functions private, added validate_lang function
Improved variable names, reverse lookup dictionary
Store api key, not payloads dict
TODO Handle 500 or other malformed response