python-youtube
python-youtube copied to clipboard
API refactor with child class
I want to refact the api structure use the child class model. Just like follows
from pyyoutube import Api
api = Api()
api.channel.get(id='xxxxx')
api.video.get(id='xxxx')
I think this can let the api more easliy to understand. And can let the code to simpify.
And can support more api from youtube.
And I will keep the version 0.8.x to use now structure for backward compatibility.
Cover #112
Cover #70