Example of how to use an API to produce and consume JSON. Then use data to update a database using Python to connect to the database.
Obtain "Chained Consumer Price Index for All Urban Consumers: All Items in U.S. City Average " data from U.S. Bureau of Labor Statistics via public API, in the form of JSON, and write to CSV file. Then connect to MySQL database and insert values obtained with BLS API into pre-created BLS database table