Cookbooks
Market competition watch
In this notebook, we will assume that we’re running a company selling a product - vacuum cleaners -, and we want to monitor our competitors, by looking at the positive and negative reviews that their products are receiving and latest product announcements.
Access the cookbook in Github
Generate an API Key
To get started, generated an API key in the Twin dashboard and substitute the value of the variable twin_key below.
Define the websites we want to navigate
We’ll define a helper function that waits until the task is completed. The /browse
endpoint is asynchronous, therefore we need to poll /task/{taskId}
until the task is completed
Amazon reviews
For the first step, we’ll check Amazon to find the reviews
Latest announcements
Now we’ll find what are the latest announcements by each company using Google News