Files
OpenBB/website/content/pro/data-connectors/single-widget.md
2024-03-25 14:29:05 +00:00

1.8 KiB
Vendored

title, sidebar_position, description, keywords
title sidebar_position description keywords
Single widget 1 Learn how to use the Single Widget of OpenBB Terminal Pro for seamless integration with your API Endpoints, enabling custom data to be fetched and displayed in an accessible format. Includes features like additional headers and addressing nested JSON data.
Single Widget
Data Connectors
API Endpoints
Data Integration
User-friendly Table Format
Additional Headers
Data Key Parameter
Nested JSON
Custom Backend

import HeadTitle from '@site/src/components/General/HeadTitle.tsx';

import TutorialVideo from '@site/src/components/General/TutorialVideo.tsx';

The single widget is the most straightforward method to integrate your custom data into OpenBB Terminal Pro. Simply paste your API endpoint into the data connectors tab, and voila! Your data is fetched and displayed in a user-friendly table format.

To use this feature, input your API endpoint and any necessary connection information. The widget will then dynamically load and present your data within the Terminal Pro interface.

If your endpoint requires additional headers, don't worry. You can easily add them using the '+ Add Additional Headers' button.

In addition, if your API endpoint doesn't return a a simple JSON but a nested architecture, you will be prompted with a "Data Key" parameter which you can use to grab the data of interest.

If you want to do something more custom, you should look into creating your own backend, or reach out to OpenBB for support.