How to integrate an API using Streamlit?

I want to integrate an API with my dashboard. Can somebody help me how can it be done?

1 Like

Hi @Muskaan -

Can you be more specific? Are you looking to send a request to an external API, or use Streamlit to both serve a dashboard and an API endpoint at the same time?

later option

This is an open feature request:

It’s rather complicated, so I do not have a timeline when Streamlit might be able to support custom endpoints to create a REST API.

2 Likes