title: Roku: Launching a Premium Application Directly into a Specific Video
body: <p>The Roku media player provides a RESTful API with the following commands:</p>
  
  <ul>
  <li><strong>query/apps</strong> This ‘query/apps’ returns a map of all the channels installed on the Roku box paired with their app id. This command is accessed via an http GET.</li>
  <li><strong>keydown</strong> takes an argument describing the key pressed. Keydown is equivalent to pressing down the remote key whose value is the argument passed. This command is sent via a POST with no body.</li>
  <li><strong>keyup</strong> takes an argument describing the key to release. Keyup is equivalent to releasing the remote key whose value is the argument passed. This command is sent via a POST with no body.</li>
  <li><strong>keypress</strong> takes an argument describing the key that is pressed. Keyup is equivalent to pressing down and releasing the remote key whose value is the argument passed. This command is sent via a POST with no body.</li>
  <li><strong>launch</strong> takes an app id as an argument and a list of url parameters that are sent to the app id as an roAssociativeArray passed the the RunUserInterface() or Main() entry point. This command is sent via a POST with no body.</li>
  </ul>
  
  <p>After I get a query a list of applications like so:</p>
  
  <pre><code>&lt;apps&gt;
  &lt;app id="5127" version="1.0.28"&gt;Roku Spotlight&lt;/app&gt;
  &lt;app id="11" version="2.2.2002"&gt;Roku Channel Store&lt;/app&gt;
  &lt;app id="28" version="2.0.20"&gt;Pandora&lt;/app&gt;
  &lt;app id="12" version="2.4.6"&gt;Netflix&lt;/app&gt;
  &lt;app id="13" version="3.2.7"&gt;Amazon Instant Video&lt;/app&gt;
  &lt;app id="2285" version="2.1.1"&gt;Hulu Plus&lt;/app&gt;
  &lt;/apps&gt;
  </code></pre>
  
  <p>I want to launch the Netflix (ID 12) application into a specific TV program or Movie:</p>
  
  <pre><code>POST /launch/12?foo=bar&amp;someVar=someValue HTTP/1.1
  </code></pre>
  
  <p>Where foo and someVar are variables that I would send to Netflix that would correspond to that particular piece of content. However, I don't know which variables nor which values I need to send to the premium applications.</p>
  
  <p>Is there any list of params that are accepted by Netflix/Amazon/Hulu/etc?</p>