Craft an API request to turn off my living room lights.
I'd be happy to assist you with that. Can you tell me what API your living room lights support? If you're not sure, we can start with what brand of smart bulbs or home automation equipment you are using.
I'm using Xiaomi's Mi smart LED lightbulbs, and my house is set up with Home Assistant.
The following code is an example request to turn off Xiaomi's Mi smart LED lightbulbs through Home Assistant's API:

```python
import homeassistant.api as haapi

# Replace your_home_assistant_username with your Home Assistant username
# Replace your_home_assistant_password with your Home Assistant password
# Replace your_device_name with the name of your Mi smart LED lightbulb

# Authorize the request
ha_session = haapi.Session(username=your_home_assistant_username,
                           password=your_home_assistant_password)

# Turn off the bulb
ha_session.call('turn_off_light', {
        'entity_id': 'your_device_name'
      })
```
Make sure you replace the placeholders with your own Home Assistant username, password, and device name. Once you have done so, you can run this code and it should turn off the specified Xiaomi Mi smart LED lightbulb.