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