Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create classes of items to inherit Bunch #4

Open
layolu opened this issue Sep 21, 2020 · 1 comment
Open

Create classes of items to inherit Bunch #4

layolu opened this issue Sep 21, 2020 · 1 comment

Comments

@layolu
Copy link
Owner

layolu commented Sep 21, 2020

Isn't there a need for dedicated classes for books and tags?
Additional members (e.g. page URLs) and methods (e.g. adding them to the library from a Book instance) can be added.

@layolu
Copy link
Owner Author

layolu commented Sep 23, 2020

  • The subclass BookItem (or DoujinshiItem) will have the same functionality as API.library.{check, add, remove} as a method.
  • The subclass TagItem will have the same functionality as API.following.{check, follow, unfollow} as a method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant