Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: Deck of Cards – A playing card API.
Nit: drawing from an empty deck does not throw an error: > curl http://deckofcardsapi.com/api/draw/i763hn8lcg0e/ {"remaining": 0, "cards": [], "deck_id": "i763hn8lcg0e", "success": true}
As does drawing a comically large number of cards: > http://deckofcardsapi.com/api/draw/vzlem7q4jhna/?count=10000... (...) "success": true}\n
There are no comments on this comment yet.
Nit: drawing from an empty deck does not throw an error: > curl http://deckofcardsapi.com/api/draw/i763hn8lcg0e/ {"remaining": 0, "cards": [], "deck_id": "i763hn8lcg0e", "success": true}
As does drawing a comically large number of cards: > http://deckofcardsapi.com/api/draw/vzlem7q4jhna/?count=10000... (...) "success": true}\n