Conform to PEP8 indentation
Pydoc tests for validation functions
Use validation function in ApiConnector