-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add Readarr support #80
Comments
Branch 80-add_readarr_support created! |
Hey @marksie1988 can you create a draft PR of |
@Archmonger Just after your opinion on this one. Currently when we
so rather than a user supplying the IDs and then doing a lookup, the lookup data is supplied as part of adding the book. this would be the same for the quality profile and any others that rely on functions within the API. I haven't implemented or tested this yet, currently just a theory and may be that the way its currently done is best, but wanted to see what you thought. |
The way it's currently being done is about the most "user friendly" way it could be implemented. Having the user supply the object would be less convenient. Another option is to just use a dataclass rather than a dict, but that would really only make the current implementation less readable. The only improvement I could think of it's optionally letting the user pass his own |
Ok after thinking about it you are probably right, assuming the user will understand passing the record rather than just an I'd may cause confusion and as doing a lookup in the construct isn't a major overhead it makes little sense to do it another way. I'll also see what the required fields are for adding books as I think it may be more that sonarr/radarr require and the construct could get messy. I'll do some testing and see As the API docs don't say what's required. |
Adding Readarr API support for e books
General
Library
get book
Lookup Book
Add Book
Edit Book
Delete Book
Lookup Author
Add Author
Edit Author
Delete Author
List books
Mass Edit
Activity
Wanted
Settings
System
The text was updated successfully, but these errors were encountered: