This is an exercise on APIs and a learning tool for the 2018 Girls Who Code class at BlackRock. To do this, students will complete various tasks to complete a blackjack program.
Exercise:
In api_consumer.py, please implement the draw_cards
function, which will draw number_of_cards
cards from deck deck_id
and return the value of "cards"
in the response.
Installation:
Requires Python 3.x
pip install -r requirements.txt
Run it:
python blackjack.py
Licence: MIT