move sys.argv hack to tubelib/youtube
[enigma2-plugins.git] / tubelib / src / youtube / Base.py
1 DEVELOPER_KEY = "AIzaSyDUp-wKizINw0m6n_7_DInK6A4qKnMaKFU"
2 YOUTUBE_API_SERVICE_NAME = "youtube"
3 YOUTUBE_API_VERSION = "v3"
4
5 from apiclient.discovery import build
6
7 def buildYoutube():
8         return build(YOUTUBE_API_SERVICE_NAME, YOUTUBE_API_VERSION, developerKey=DEVELOPER_KEY)