superselle/ubertracker — reverse-engineered prompt
Reverse engineered prompt
Build me a Go library for tracking Uber Eats orders in real time, with no UI and no built in database. I want to give it an order id and valid Uber cookies, then have it keep checking the order and send me clean updates I can use in another app.
It should tell me the order phase, like preparing, courier assigned, on the way, completed, or cancelled. It should also pull out the ETA in minutes, courier name and phone when available, and the delivery PIN. Make it smart about how often it checks so it doesn’t spam requests.
Please design it so I can plug in my own storage, my own fetch function for tests or proxies, and my own way to send updates to Discord or anywhere else. It should be able to resume unfinished orders after a restart. Add good tests with fake order JSON examples, and include a simple README showing how to start tracking an order and read updates from a Go channel.
Want more depth? Deep Reverse