Exemplo n.º 1
0
def GetVideoSummary():
    data = getVideoData(request.args.get('videoId'))
    return jsonify(results=data)
Exemplo n.º 2
0
def producsuggestions():
    searchData = getVideoData('productivity')
    return render_template("videoLayout.html",
                           results=searchData,
                           title="Productivity")
Exemplo n.º 3
0
def businesssuggestions():
    searchData = getVideoData('business')
    return render_template("videoLayout.html",
                           results=searchData,
                           title="Business")
Exemplo n.º 4
0
def insipsuggestions():
    searchData = getVideoData('inspirational')
    return render_template("videoLayout.html",
                           results=searchData,
                           title="Inspirational")
Exemplo n.º 5
0
def motivsuggestions():
    searchData = getVideoData('motivation')
    return render_template("videoLayout.html",
                           results=searchData,
                           title="Motivation")
Exemplo n.º 6
0
def philosuggestions():
    searchData = getVideoData('philosophy')
    return render_template("videoLayout.html",
                           results=searchData,
                           title="Philosophy")
Exemplo n.º 7
0
def suggestions():
    searchData = getVideoData('stocism')
    return render_template("videoLayout.html",
                           results=searchData,
                           title="Stocism")
Exemplo n.º 8
0
import youtube
VID = input("Enter a video ID: ")
print(youtube.getVideoData(VID, True))