from quickly.widgets import web_cam_box
Here's the contents of quickly.widgets:
Help on package quickly.widgets in quickly:
and the beginning of the web_cam_box help:
A VBox that tries to turn on and display the default webcam for the
computer on which it is running. It is also capable of saving an image
from the webcam to the user's Picture directory.
There's more info on functions and usage in the help.