1.0.1 • Published 2 years ago

quizlet-terms v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

QUIZLET-TERMS

I have worked hours to find a solution to make a proper Quizlet Terms API, and here it is!

This API scrapes the Quizlet Website for terms, and delivers it in a JSON format!

Example Usage:

const quizlet = require('quizlet-terms'); 

// Async Function 

const quizlet = require('./main.js'); 

quizlet("https://quizlet.com/193773852/nj-drivers-ed-chapter-4-flash-cards/")
.then(res => res.json())
.then(set => { 
     console.log(set); 
})
.catch(err => console.log(err.message)); 

Output on Console:

{
  title: "NJ Driver's Ed - Chapter 4 Flashcards | Quizlet",
  author: 'KatelynThaochuetoua2',
  cards: [
    {
      term: 'What does it mean if the dashed line is on your side of the road?',
      definition: 'You can pass.'
    },
    {
      term: 'What is a controlled section?',
      definition: 'Where 2 or more roads joining/crossing and there are signals and lights controlling stops at intersections.'
    },
    ...
  ]
}

Show your support for this project by starring it on Github!

1.0.1

2 years ago

1.0.0

2 years ago