Connect Dash App to API Socrata Open Data (Store and Interval)
Charming Data
In this part two tutorial, we will connect our Dash Plotly app to an API (in Python) so we don't depend on an excel sheet to pull and upload data. This API belongs to Socrata Open Data where you can find thousands of valuable data sets and APIs. You will also learn to use the Store and Interval Dash Core Components. Tutorial part one can be found here: https://youtu.be/eolV2X1YCBw
My GitHub Code: https://github.com/Coding-with-Adam/Dash-by-Plotly/tree/master/Analytic_Web_Apps/Excel_to_Dash_Animal_Shelter
Data Source: https://www.dallasopendata.com/Services/Animals-Inventory/qgg6-h4bd
Sodapy Library: https://github.com/xmunoz/sodapy
To set up API account: https://www.dallasopendata.com/login
Video layout: 00:00 - What you will learn and code 01:55 - Import libraries and Sodapy 02:40 - Set up API account and Token 05:40 - Connect to API data 10:41 - How the Interval works 13:58 - Store and Interval Components & 1st callback 18:20 - 2nd Callback
š If you appreciate these tutorials and would like to support their existence while getting access to my GitLab members-only code: Patreon: https://www.patreon.com/charmingdata YouTube: https://www.youtube.com/channel/UCqBFsuAz41sqWcFjZkqmJqQ/join
113975749 Bytes