def search_cards(keyword): """ Searches the database for cards with the keyword in the card's name. :param keyword: The search term to find this card. :type keyword: string :returns: list """ return _recursively_convert_unicode_to_str(json.loads(raw_json.search_cards(keyword)))
def get_card(id): """ Retrieves a card by looking up its ID. :param id: The unique id number of the card. :type id: integer :returns: dict """ return _recursively_convert_unicode_to_str(json.loads(raw_json.get_card(id)))