-
Notifications
You must be signed in to change notification settings - Fork 0
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
DE-175: Create general cloudLibrary client #38
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good code-wise! I haven't reviewed the tests yet but before I do I just want to confirm that the ereading team is going to use this. I thought they were using a different API version or something like that? Otherwise it seems like this code can live somewhere else and be simplified a bit
Since this client is used within eReading and PJR, thought it would be useful to add here!
This cloudLibrary client is relatively straightforward -- the only weird thing is the
request
function, which is necessary for formatting headers and authorization for each API call. Thisrequest
function is modeled after a similar one used in eReading. Wasn't entirely sure whether it's worth testing since all it's doing is an API call, but lmk your thoughts!