API connection to Dash Web App - Python Plotly (Weather)

preview_player
Показать описание
Learn to connect your Dash web app to an API, in python.

View my book - The Book of Dash:

The Code:

CSS form:

Weather API:

Bonus: openwid (OpenWeather in Dash) is a Python package for creating daily weather forecast components in Plotly Dash framework. You can easily add a fully responsive weather forecast card to your Dash applications:
Рекомендации по теме
Комментарии
Автор

Hey everyone, this API might not work soon due to high level of API requests. The weatherstack website sent me this message:
"Please be aware that you have reached at least 87% of your available API Request volume. To prevent service disruption, you might want to consider upgrading your subscription plan."

CharmingData
Автор

You're a lifesaver, i've been googling my issues with adding live api data to a data tables with 1 seconds intervals and found nothing with real world JSON examples, only dummy X and Y data. This helped me a lot. Thank you! Keep doing what you are doing, it will be appreciated and supported.

alexanderhill
Автор

Just one thing to say...
You are Awesome!!!

MuhammadAhmad-dgid
Автор

Hello Adam,
here is a hint for the "Hard Challenge":
Forcasts are no longer in "Free Plan"
{
success: false,
error: {
code: 609,
type: "forecast_days_not_supported_on_plan",
info: "Your current subscription plan does not support weather forecast data. Please upgrade your account to use this feature."
}
By the way, thanks for your great tutorial about dash/plotly.

richarddurr
Автор

Hy Adam, thanks for the video. Is it possible to combine dash apps with FastApi ? I can't find an example anywhere on the internet

gustavo
Автор

Heyy you're awesome, I have a question how can I style the output to look like a weather GUI, idk with images and better styling

alayetmanel
visit shbcf.ru