Rishi Tea & Botanicals
Rishi Tea's own "Tea Finder" quiz (Okendo Quizzes) — reads the real question set and submits real answers to get back the site's own personalized tea…
Rishi Tea's own "Tea Finder" quiz (Okendo Quizzes) — reads the real question set and submits real answers to get back the site's own personalized tea recommendation.
Domain: rishi-tea.com
Also known as: Rishi Tea, Rishi Tea & Botanicals, Rishi Tea and Botanicals, rishi-tea.com
Call it directly
bowmark.providers.rishitea.getTeaFinderQuiz(): Promise<TeaFinderQuiz>
bowmark.providers.rishitea.matchTeaFinderQuiz(quiz: TeaFinderQuiz, answers: TeaFinderAnswerInput[]): Promise<TeaFinderResult>Functions
| Function | What it does |
|---|---|
getTeaFinderQuiz | Reads the live Tea Finder quiz's real question set straight from Okendo's quiz API — every question's text, whether it takes one answer or several, and its exact option strings. |
matchTeaFinderQuiz | Submits a full set of answers (one per question getTeaFinderQuiz returned) to Okendo's quiz engine and returns the SAME personalized recommendation the live widget shows — a… |
Types
interface TeaFinderQuestion {
id: string;
profileQuestionId: string;
text: string;
selectionType: "single" | "multi";
options: string[];
minSelections?: number;
maxSelections?: number;
}
interface TeaFinderQuiz {
quizId: string;
channelQuizId: string;
questions: TeaFinderQuestion[];
}
interface TeaFinderAnswerInput {
questionId: string; // a TeaFinderQuestion.id
answer: string | string[]; // string for selectionType "single", string[] for "multi"
}
interface TeaFinderProduct {
name: string;
url: string;
description: string;
imageUrl: string;
averageRating: number | null;
approvedReviewsCount: number;
price: number | null;
currencyCode: string | null;
}
interface TeaFinderResult {
quizResponseId: string;
title: string;
subtitle: string | null;
products: TeaFinderProduct[];
runnerUpProducts: TeaFinderProduct[];
}