Created
August 7, 2012 21:20
-
-
Save RobSpectre/3289474 to your computer and use it in GitHub Desktop.
Karaoke Mic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import flask | |
from twilio import twiml | |
app = flask.Flask(__name__) | |
@app.route('/mic', methods=['POST']) | |
def karaoke(): | |
response = twiml.Response() | |
with response.dial() as dial: | |
dial.conference("Karaoke Party Room") | |
return str(response) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment