parameters: (conference_name)
return_statement: return app_id
docstring: Create a Plivo application and set the answer URL to the conference URL.
      This makes sure that when the call is answered the Conference XML will be
      executed by Plivo.
  
      Returns the id of the application created on Plivo.
docstring_summary: Create a Plivo application and set the answer URL to the conference URL.
      This makes sure that when the call is answered the Conference XML will be
      executed by Plivo.
docstring_tokens: Create a Plivo application and set the answer URL to the conference URL . This makes sure that when the call is answered the Conference XML will be executed by Plivo .
function: def create_plivo_application(conference_name):
      """
      Create a Plivo application and set the answer URL to the conference URL.
      This makes sure that when the call is answered the Conference XML will be
      executed by Plivo.
  
      Returns the id of the application created on Plivo.
      """
  
      answer_url = url_for('conf', _external=True, conference_name=conference_name)
      plivo_conn = get_plivo_connection()
      _, response = plivo_conn.create_application({'app_name': conference_name, 'answer_url': answer_url, 'answer_method': 'POST'})
      print "Status: %s\nResponse: %s" % (_, response)
      app_id = response['app_id']
      return app_id
function_tokens: def create_plivo_application ( conference_name ) : answer_url = url_for ( 'conf' , _external = True , conference_name = conference_name ) plivo_conn = get_plivo_connection ( ) _ , response = plivo_conn . create_application ( { 'app_name' : conference_name , 'answer_url' : answer_url , 'answer_method' : 'POST' } ) print "Status: %s\nResponse: %s" % ( _ , response ) app_id = response [ 'app_id' ] return app_id