You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, great work. As for the facebook one, this library is really cool.
Duplicated code:
I haven't dig dipper, but it seems that there is a lot of duplicated code.
The resources module has many classes with the same method list, update, etc... maybe that could be moved into a parent class where all the verifications are done at this level.
The Client and API classes. They seem very similar. API seems to have methods that for the Client class should be called through a resource. It might be worth to separate the auth part (requesting tokens, refreshing them and so on) into an independent class, then the API class could be removed and use only the Client one as they would do the same thing.
Method's parameters
Instead of allowing None values and the checking if the value is None setting a default value, I think that it would be better to set the default value on the parameter itself.
Reduce comments
Many methods have comments that are redundant, the method names and parameters are usually clear enough. Nevertheless it might be helpful having a link to the youtube docs.
The text was updated successfully, but these errors were encountered:
First of all, great work. As for the facebook one, this library is really cool.
Duplicated code:
I haven't dig dipper, but it seems that there is a lot of duplicated code.
Method's parameters
Reduce comments
The text was updated successfully, but these errors were encountered: