firecrawl/examples/scrape_and_analyze_airbnb_data_e2b
2024-06-21 15:40:46 -04:00
..
.env.template Update examples section 2024-06-21 15:40:46 -04:00
.prettierignore Update examples section 2024-06-21 15:40:46 -04:00
airbnb_listings.json Update examples section 2024-06-21 15:40:46 -04:00
airbnb_prices_chart.png Update examples section 2024-06-21 15:40:46 -04:00
codeInterpreter.ts Update examples section 2024-06-21 15:40:46 -04:00
index.ts Update examples section 2024-06-21 15:40:46 -04:00
model.ts Update examples section 2024-06-21 15:40:46 -04:00
package-lock.json Update examples section 2024-06-21 15:40:46 -04:00
package.json Update examples section 2024-06-21 15:40:46 -04:00
prettier.config.mjs Update examples section 2024-06-21 15:40:46 -04:00
README.md Update examples section 2024-06-21 15:40:46 -04:00
scraping.ts Update examples section 2024-06-21 15:40:46 -04:00

Scrape and Analyze Airbnb Data with Firecrawl and E2B

This example demonstrates how to scrape Airbnb data and analyze it using Firecrawl and the Code Interpreter SDK from E2B.

Prerequisites

  • Node.js installed on your machine
  • An E2B API key
  • A Firecrawl API key
  • A Anthropic API key

Setup & run

1. Install dependencies

npm install

2. Set up .env

  1. Copy .env.template to .env
  2. Get E2B API key
  3. Get Firecrawl API key
  4. Get Anthropic API key

3. Run the example

npm run start