title: Youtube v3 API Python Transition to live
body: <p>I am trying to transition a broadcast event to testing and then to live using the youtube live API v3 with python 2.7.3. I used the example code in the youtube documentation web to create the broadcast, streaming and bind them but now I need to do the transition and there is no example of this in the documentation.
  I am trying to do it using this code:</p>
  
  <pre><code>def bind_transition(youtube, broadcast_id):
          transition_state_response = youtube.liveBroadcasts().transition(
          part="status",
          id=broadcast_id,
          broadcastStatus="testing"
          ).execute()
  </code></pre>
  
  <p>Please someone can correct my code or give me an example for this.</p>