Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A simple Rest get API datasource #321

Open
simonaubertbd opened this issue Jan 30, 2025 · 1 comment
Open

A simple Rest get API datasource #321

simonaubertbd opened this issue Jan 30, 2025 · 1 comment

Comments

@simonaubertbd
Copy link

Hello,

Since you can't have a connector for all existing datasources, what about having a simple REST API response (working with at least GET) as a datasource?

Best regards,

Simon

@vtfg
Copy link
Contributor

vtfg commented Feb 1, 2025

You can request your data in a Python block using requests and then output a plot using matplotlib or a table using pandas.

Here's an example:

Image

By outputing a pandas DataFrame it's possible to use the data in a Briefer's native visualization, just select the query matching the variable name (df in this example).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants