Firecrawl integrates with Camel AI as a data loader.
pip install camel-ai
With Camel AI and Firecrawl you can quickly build multi-agent systems than use data from the web.
mock_app = MockFirecrawlApp.return_value firecrawl = Firecrawl( api_key='FC_API_KEY', api_url='https://api.test.com' ) url = 'https://example.com' response = [{'markdown': 'Markdown content'}] mock_app.crawl_url.return_value = respons result = firecrawl.markdown_crawl(url)
mock_app = MockFirecrawlApp.return_value firecrawl = Firecrawl( api_key='test_api_key', api_url='https://api.test.com' ) url = 'https://example.com' response = 'Scraped content' mock_app.scrape_url.return_value = response result = firecrawl.scrape(url)