Tell me about how you would create a mobile app that reads and displays data from an API.
Implement the data-preparation portion: deduplicate API records by id, retain the record with the newest published_at, sort records newest first, and return at most limit records.
Signature: prepare_feed(items, limit). Each item is a dictionary with string keys id, title, and ISO-8601 UTC string published_at; return a list of dictionaries.
id, title, and published_atpublished_at values use the same ISO-8601 UTC formatdef prepare_feed(items, limit):