Build a program using a language of your choice that retrieves data from a RESTful API endpoint and formats the results for display on a web page or command line interface. The program should handle errors and provide a user-friendly interface for inputting necessary parameters (e.g. API key, query parameters). The displayed data should include relevant information based on the API's response structure, such as dates, images, or text. Optional features could be included, such as caching of data or customization of display styles.
This prompt doesn't seem malicious.