def cardInfo(self, resource_id):
<EOL>base_id = baseId(resource_id)<EOL>if base_id in self.players:<EOL><INDENT>return self.players[base_id]<EOL><DEDENT>else:  <EOL><INDENT>url = '<STR_LIT>'.format(card_info_url, base_id)<EOL>return requests.get(url, timeout=self.timeout).json()<EOL><DEDENT>
Return card info.

        :params resource_id: Resource id.