You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I remove specific cards from a deck? I found a way to do this using partial deck, but if I have to remove a small number of cards, the code gets too big.
For example, if I need a deck without the 8, 9, and 10 cards, the code currently looks like this: http://deckofcardsapi.com/api/deck/new/shuffle/cards=AS,2S,3S,4S,5S,6S,7S,JS,QS,KS,AD,2D,3D,4D,5D,6D,7D,JD,QD,KD,AC,2C,3C,4C,5C,6C,7C,JC,QC,KC,AH,2H,3H,4H,5H,6H,7H,JH,QH,KH
But if there was a way to remove the cards, it would be more friendly, like this: http://deckofcardsapi.com/api/deck/new/shuffle/remove_cards=8S,9S,0S,8D,9D,0D,8C,9C,0C,8H,9H,0H
Thank you.
The text was updated successfully, but these errors were encountered:
Hi, I'm using your API and loving it.
How can I remove specific cards from a deck? I found a way to do this using partial deck, but if I have to remove a small number of cards, the code gets too big.
For example, if I need a deck without the 8, 9, and 10 cards, the code currently looks like this:
http://deckofcardsapi.com/api/deck/new/shuffle/cards=AS,2S,3S,4S,5S,6S,7S,JS,QS,KS,AD,2D,3D,4D,5D,6D,7D,JD,QD,KD,AC,2C,3C,4C,5C,6C,7C,JC,QC,KC,AH,2H,3H,4H,5H,6H,7H,JH,QH,KH
But if there was a way to remove the cards, it would be more friendly, like this:
http://deckofcardsapi.com/api/deck/new/shuffle/remove_cards=8S,9S,0S,8D,9D,0D,8C,9C,0C,8H,9H,0H
Thank you.
The text was updated successfully, but these errors were encountered: