A set of utilities focused on scraping the VEX Robotics Q&A.
import { getAllQuestions } from "@qnaplus/scraper";
(async () => {
const questions = await getAllQuestions();
})();
import { getQuestions } from "@qnaplus/scraper";
(async () => {
// gets all questions from the current season
const currentSeasonQuestions = await getQuestions();
// get all questions from a particular season
const specificSeasonQuestions = await getQuestions(["2020-2021"]);
// get all VURC questions from the 2020-2021 season
const filteredQuestions = await getQuestions({
VURC: ["2020-2021"]
});
})();
import { getUnansweredQuestions } from "@qnaplus/scraper";
(async () => {
const questions = await getUnansweredQuestions();
})();