weekly-fifty
v1.0.6
Published
Library for fetching 'The Weekly Fifty' quizzes
Readme
The Weekly Fifty Library
Allows safely fetching The Weekly Fifty latests quizzes.
Installation
npm install weekly-fiftyUsage
To use this library, the following is available:
import { TW50 } from 'weekly-fifty';
// get the latest available quiz
const latest = await TW50.Fetch();Options
The Options available for TW50.Fetch include:
url: Optional override url for the quiz endpoint.parse: Handles parsing fetch responses to quiz data.
