1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "text": `The Ultimate Coffee Lover's Gift Set
12
13Brew happiness in every cup with our carefully curated Coffee Lover's Gift Set, designed for the caffeine enthusiast in your life. Each set includes a 12-ounce bag of single-origin Ethiopian beans, roasted to bring out bright notes of blueberry and honey, along with a hand-crafted ceramic pour-over dripper that delivers a smooth, balanced extraction every time.
14
15Also included is a stainless steel gooseneck kettle for precise pouring, a reusable filter, and a beautifully illustrated recipe card featuring three signature drinks to try, from a classic cold brew to a cinnamon-spiced latte. Everything arrives in a sleek, gift-ready box with a recyclable wrap, so unwrapping feels as special as the first sip.
16
17Whether it's a birthday, holiday, anniversary, or just a thoughtful "thinking of you," this set makes a memorable gift for anyone who starts their day with coffee. It's perfect for beginners eager to upgrade their home brewing and seasoned aficionados looking to explore new flavors.
18
19Give the gift of a better morning. Order the Coffee Lover's Gift Set today and let every cup tell a story.`
20};
21
22
23const run = await client.actor("tidydata/ai-content-detector").call(input);
24
25
26console.log('Results from dataset');
27console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
28const { items } = await client.dataset(run.defaultDatasetId).listItems();
29items.forEach((item) => {
30 console.dir(item);
31});
32
33