yasuki_web.cards.list_cards#
- async list_cards(request, search=None, deck=None, clan=None, card_type=None, format=None, sort='name', order='asc', limit=100, offset=0)[source]#
List cards with optional filtering and pagination.
The search parameter supports Scryfall-style query syntax: - Plain text searches name and rules text - clan:Crane, c:Crane — filter by clan - type:personality, t:personality — filter by type - force>3, chi>=2, gold<=3 — numeric comparisons - is:unique, is:cavalry, is:shadowlands — keyword/trait filters - !”exact name” — exact whole-name match - -type:event — negation - a OR b, (a b) OR (c d) — OR logic and parenthesised grouping
The deck, clan, and card_type query params still work for backwards compatibility; each is an independent constraint ANDed with the parsed search query.