first commit
Added InvalidApiResponseException and upgraded response validation
Applied php cs fixer