1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "jobText": "Head of Growth. We are a 40-person B2B software company looking for a Head of Growth to run our paid campaigns, write landing pages, build weekly performance reports and manage our marketing automation tool. You will work with the sales team and report to the Marketing Manager. Requirements: 10+ years of experience in growth marketing, expert in SEO, paid social, analytics, SQL, design tools and video editing, MBA preferred. Hybrid, three days a week in our Berlin office. We offer a learning budget and flexible hours."
12};
13
14
15const run = await client.actor("reloop.me/job-description-analyzer").call(input);
16
17
18console.log('Results from dataset');
19console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
20const { items } = await client.dataset(run.defaultDatasetId).listItems();
21items.forEach((item) => {
22 console.dir(item);
23});
24
25