Changed pylint
Added error handling for REST API queries