A card game API