A set of utilities focused on scraping the VEX Robotics Q&A.
import { getAllQuestions } from "vex-qna-archiver";
(async () => {
const questions = await getAllQuestions();
})();
import { getQuestions } from "vex-qna-archiver";
(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 VEXU questions from the 2020-2021 season
const filteredQuestions = await getQuestions({
VEXU: ["2020-2021"]
});
})();
import { getUnansweredQuestions } from "vex-qna-archiver";
(async () => {
const questions = await getUnansweredQuestions();
})();