The actions module

The actions module contains classes pertaining to creating objects which can be sent to the iPhone or the Guzzoni web server which pertain to specific actions.

The _CustomCommand class

Inheritance diagram of pysiriproxy.objects.actions._CustomCommand

class pysiriproxy.objects.actions._CustomCommand(command)[source]

The _CustomCommand class creates a StartRequest object which contains a custom command.

The _WebSearch class

Inheritance diagram of pysiriproxy.objects.actions._WebSearch

class pysiriproxy.objects.actions._WebSearch(query)[source]

The _WebSearch class creates a command to perform a web search for a particular search phrase.

The Actions class

Inheritance diagram of pysiriproxy.objects.actions.Actions

class pysiriproxy.objects.actions.Actions[source]

The Actions class contains a list of Action types as well as a function for creating specific types of Actions.

This class provides a factory function for creating Actions of a specific type.

CustomCommand

The CustomCommand action type.

WebSearch

The WebSearch action type.

classmethod create(actionType, *args, **kwargs)[source]

Return a specific Action wrapped in a SendCommands object so it can be sent to Siri as a command.

  • actionType – The type of Action to create
  • args – The arguments
  • kwargs – The keyword arguments

Table Of Contents

Previous topic

The objects module

Next topic

The baseObject module

This Page