Scrapfly Reporting and Star Schemas in OBIEE

Jerod Johnson
Jerod Johnson
Director, Technology Evangelism
Create a star schema that shows perspectives on Scrapfly facts in real time.

The CData ODBC Driver for Scrapfly is a standard database driver that can integrate real-time access to Scrapfly data into your data warehouse or directly into your reporting tool. This article shows how to bypass the data warehouse and import operational Scrapfly data into Oracle Business Intelligence Enterprise Edition (OBIEE).

See the knowledge base for ODBC integrations with ETL tools like Informatica PowerCenter. For an ETL solution into Oracle Warehouse Builder, use the driver with the Oracle ODBC Gateway to Access Scrapfly Data as a Remote Oracle Database.

Connect to Scrapfly as an ODBC Data Source

If you have not already, first specify connection properties in an ODBC DSN (data source name). This is the last step of the driver installation. You can use the Microsoft ODBC Data Source Administrator to create and configure ODBC DSNs.

The Scrapfly API uses API Key authentication. The API key is passed as the key query parameter on every request.

Using API Key Authentication

Your Scrapfly API key is required to create a connection. To obtain your API key:

  1. Log into your Scrapfly account at scrapfly.io.
  2. Navigate to Dashboard and select API Keys.
  3. Copy your API key (begins with scp-live- for production or scp-test- for the test environment).

After obtaining your API key, set the following connection properties:

  • AuthScheme: Set this to APIKey.
  • APIKey: Set this to your Scrapfly API key.

Example connection string:

Profile=C:\profiles\Scrapfly.apip;AuthScheme=APIKey;ProfileSettings='APIKey=your_api_key';

When you configure the DSN, you may also want to set the Max Rows connection property. This will limit the number of rows returned, which is especially helpful for improving performance when designing reports and visualizations.

Import Scrapfly Metadata

Follow the steps below to use the OBIEE Client Tools to import Scrapfly metadata into an OBIEE repository. You can then integrate Scrapfly data into your business models.

  1. Open the Administration Tool and click File -> New Repository.

  2. In the Connection Type menu, select ODBC 3.5 and select the CData DSN.
  3. Select the metadata types you want to import under the Relational Sources option and then select Scrapfly tables.
You can now create star schemas based on Scrapfly tables:

Ready to get started?

Connect to live data from Scrapfly with the API Driver

Connect to Scrapfly