Python
import os from skylight_sdk import Skylight with Skylight( apikey=os.getenv("SKYLIGHT_APIKEY", ""), ) as skylight: res = skylight.interact.keypress(instance_id="<id>", keys=[ "super", "shift", "s", ]) # Handle response print(res)
{ "message": "<string>", "status": "<string>" }
Press the specified keys simultaneously (e.g. [‘ctrl’, ‘alt’, ‘delete’])
Requires API key authentication.
API key authentication
Successfully pressed keys
The response is of type object.
object