importyoutube_datafrom"location of youtube_data"youtube_data-Youtube_data();
# get a search url for a topicurl=self.youtube_data.get_search_url({"topic":"nba"})
# more options used exurl=self.youtube_data.get_search_url({
"topic":"nfl",
"videoDuration": "any",
"order": "relevance",
"maxResults":1})
# get video url from video idurl=self.youtube_data.get_video_info_url("sG4lZU1iPpE")
# get video ids from json search result ids=self.youtube_data.get_search_ids(info)
# get array of videoids info info=self.youtube_data.get_videos_info(['sG4lZU1iPpE', 'MVQWfur6-qk'])
# sorting with most likesrank=self.youtube_data.sort("likes", "most", info);
# look at ./src/test_youtube_data.py