crobertsbmw / deckofcards

An API to simulate a deck of cards
MIT License
1.34k stars 335 forks source link

[HELP] How can I get the API which includes the Jokers #90

Closed anhquan291 closed 3 years ago

anhquan291 commented 3 years ago

Hi sir, I have a question that how can get the response which includes the 2 Jokers.
(the API that I'm using 'https://deckofcardsapi.com/api/deck/new/draw/?count=52') Thank you so much for everything you've done. Hope to hear from you.

Have a great day sir

crobertsbmw commented 3 years ago

You can add jokers to the deck by adding a jokers_enabled boolean parameter. ie:

https://deckofcardsapi.com/api/deck/new/draw/?count=52&jokers_enabled=true

On Tue, Nov 10, 2020 at 9:04 AM anhquan291 notifications@github.com wrote:

Hi sir, I have a question that how can get the response which includes the 2 Jokers. (the API that I'm using ' https://deckofcardsapi.com/api/deck/new/draw/?count=52') Thank you so much for everything you've done. Hope to hear from you.

Have a great day sir

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/crobertsbmw/deckofcards/issues/90, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMQLHSZXZXVR5YDDECKCLDSPFQBVANCNFSM4TQ3BETQ .

anhquan291 commented 3 years ago

You can add jokers to the deck by adding a jokers_enabled boolean parameter. ie:

https://deckofcardsapi.com/api/deck/new/draw/?count=52&jokers_enabled=true

On Tue, Nov 10, 2020 at 9:04 AM anhquan291 notifications@github.com wrote:

Hi sir, I have a question that how can get the response which includes the 2 Jokers. (the API that I'm using ' https://deckofcardsapi.com/api/deck/new/draw/?count=52') Thank you so much for everything you've done. Hope to hear from you.

Have a great day sir

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/crobertsbmw/deckofcards/issues/90, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMQLHSZXZXVR5YDDECKCLDSPFQBVANCNFSM4TQ3BETQ .

Thank you so much sir