ridibooks-reading-note-api
Unofficial ridibooks reading note API
Usage
const RidiReadingNote = const ridiReadingNote = userId: 'userId' password: 'password' ridiReadingNoteridiReadingNotegetBooks ridiReadingNoteridiReadingNote
API
RidiReadingNote({ userId, password })
A constructor of module. userId and password must be provided.
instance.getBooks([callback])
Returns a promise for an array of book data. Callback also supported.
// Example Data bookTitle: "노인과 바다 (영문판)" path: "/reading-note/detail/106000156" bookId: "106000156" notes: "Others, of the older fishermen, looked at him and were sad." "noteangry"
instance.getNotes(bookId, [callback])
Returns a promise for an array of note. Callback also supported.
// Example Data["Others, of the older fishermen, looked at him and were sad.", "noteangry"]