quizlet

1.0.0 • Public • Published

Quizlet

This module allows you to interact with a subset of the Quizlet API, currently:

  • Get users
    • Get a full list of the user's sets
  • Get a set
    • Get the creator of that set

More operations will be added.

Example

const Quizlet = require('quizlet')
 
const q = new Quizlet({
  clientId: "your client id"
})
 
const user = await q.user("tjhorner")
 
console.log(user)
 
const sets = await user.allSets()
 
console.log(sets)
 
const aCoolSet = await q.set(1)
 
console.log(aCoolSet)
 
const creator = await aCoolSet.creator()
 
console.log(creator)
 
const terms = await aCoolSet.terms()
 
console.log(terms)

Readme

Keywords

none

Package Sidebar

Install

npm i quizlet

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

3.44 kB

Total Files

6

Last publish

Collaborators

  • tjhorner