<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def snap_picture(self):
 """Take a picture with camera to create a new thumbnail."""

        return api.request_new_image(self.sync.blink,
                                     self.network_id,
                                     self.camera_id)