probe-gate
Demonstrates listing cards that have been added to a named pile
curl 'https://deckofcardsapi.com/api/deck/wa025949x0ez/pile/player1/list/'
import requests
resp = requests.get("https://deckofcardsapi.com/api/deck/wa025949x0ez/pile/player1/list/")
data = resp.json()
import zingu_apis
api = zingu_apis.api("deckofcardsapi")
result = api.fetch("deck/{deck_id}/pile/{pile_name}/list/")
for item in result:
print(item)
const resp = await fetch("https://deckofcardsapi.com/api/deck/wa025949x0ez/pile/player1/list/");
const data = await resp.json();