get_cards {}
curl -s https://www.smashandclash.in/api/v1/games/cards
const cards = await sc.cards();
npx smashandclash cards
{
"cards": [
{ "id": 1, "name": "Pengu", "kind": "character", "top": 5, "right": 4, "bottom": 3, "left": 2, "color": "pink", "image": "https://www.smashandclash.in/Cards-webp/01_Pengu.webp" },
{ "id": 101, "name": "Boulder!", "kind": "effect", "effect": "BOULDER", "does": "Remove a non-frozen card plus every non-frozen card in its row and column.", "image": "https://www.smashandclash.in/Cards-webp/Effect_Boulder.webp" }
]
}
| Field | Means |
|---|---|
id | The card id, as used in the seat sync: 1–46 for characters, 101–105 for effects |
top right bottom left | A character’s side values as printed, read from its owner’s side |
color | A character’s frame colour. Power tiles boost cards of their colour |
effect | An effect’s keyword, as its moves are named: BOULDER(D2), FLIP, FREEZE(B1), RECRUIT(A3→B1), SWAP |
image | The card face |