Hello ChatGPT, I need your help building a Python script that does the following end-to-end: 1. **API Connection** - Ask me or confirm any details about the API (URL, authentication, parameters, headers). - Implement best practices for handling requests, including: - Retries (without backoff) in case of transient errors. - Error handling for status codes (e.g., 4xx, 5xx). - Configurable timeouts. - If the API requires authentication (token, OAuth, basic auth), show how to include it securely. 2. **Data Parsing and Loading** - Parse the API response (likely JSON, but could be CSV or XML). - Load it into a **pandas DataFrame**. - Ensure robust error handling if the response is empty or malformed. - (Optional) Provide an easy way to export the DataFrame (e.g., to CSV). 3. **Quick Analysis** - Print out basic summaries (e.g., .head(), .info(), .describe()). - If relevant, highlight interesting columns or potential data quality issues (e.g., missing values). 4. **Basic Visualizations** - Use Python libraries (like matplotlib or seaborn) to create a few quick plots. - Provide at least one example plot (e.g., a line chart or bar chart) based on the data. - Include best practices for labeling axes, titles, legends. 5. **Execution / Environment** - Include a main entry point so I can run the script locally. - (Optional) If the environment supports running code within ChatGPT, please attempt to run the script inline or demonstrate how I could do so. - Explain any library dependencies (e.g., requests, pandas, matplotlib, etc.) and how to install them (pip install ...). 6. **Final Review** - Summarize what the script does. - Note any assumptions made if you don’t have the full API details. - Ask me if I need more advanced analysis, additional plots, or a more production-ready structure (e.g., logging, CLI arguments). Below, I’ll provide the API details (URL, query parameters, data format, etc.). Please generate the Python script as requested. If any of my details are unclear or insufficient, prompt me with questions before finalizing the script. Thank you!