probe-gate
Demonstrates shuffling cards within a specific pile while leaving the main deck unchanged
curl 'https://deckofcardsapi.com/api/deck/wa025949x0ez/pile/player1/shuffle/'
import requests
resp = requests.get("https://deckofcardsapi.com/api/deck/wa025949x0ez/pile/player1/shuffle/")
data = resp.json()
import zingu_apis
api = zingu_apis.api("deckofcardsapi")
result = api.fetch("deck/{deck_id}/pile/{pile_name}/shuffle/")
for item in result:
print(item)
const resp = await fetch("https://deckofcardsapi.com/api/deck/wa025949x0ez/pile/player1/shuffle/");
const data = await resp.json();