Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ridibooks-reading-note-api

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ridibooks-reading-note-api

Unofficial ridibooks reading note API

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

ridibooks-reading-note-api

Unofficial ridibooks reading note API

Usage

const RidiReadingNote = require('ridibooks-reading-note-api')

const ridiReadingNote = new RidiReadingNote({ 
  userId: 'userId', 
  password: 'password', 
})

ridiReadingNote.getBooks(books => { console.log(books) })
ridiReadingNote.getBooks.then(books => { 
  console.log(books) 
})

ridiReadingNote.getNotes('106000156', notes => { console.log(notes) })
ridiReadingNote.getNotes('106000156').then(notes => { 
  console.log(notes) 
})

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"]

Keywords

FAQs

Package last updated on 10 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc