def twitter():

    s3db.configure("msg_twitter",
                   editable = False,
                   insertable = False,
                   list_fields = ["id",
                                  "date",
                                  "from_address",
                                  "to_address",
                                  "body",
                                  ],
                   )

    return s3_rest_controller()

# -----------------------------------------------------------------------------
Setup the Command Sensor.
dataset/ETHPy150Open sahana/eden/controllers/msg.py/twitter--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/sensor/command_line.py/setup_platform