def get(self, resource_id):
response = self.send(self.get_resource_endpoint(resource_id), "<STR_LIT>")<EOL>try:<EOL><INDENT>resource = self.resource_class(self.client)<EOL><DEDENT>except (ValueError, TypeError):<EOL><INDENT>return None<EOL><DEDENT>else:<EOL><INDENT>resource.update_from_dict(self.client.get_response_data(response, self.Meta.parse_json))<EOL>return resource<EOL><DEDENT>
Get one single resource from the API
:param resource_id: Id of the resource to be retrieved
:return: Retrieved resource