xob0t/google_photos_web_client — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a small Python library for talking to Google Photos through the unofficial web API using an exported cookies.txt file. I want to be able to create a client, load the cookies, send a request for my Google Photos library page by taken date, and print useful fields like each item’s media key. I also want to be able to ask for storage quota, and send more than one request in the same client session.

Please make it feel easy for a Python user, with simple classes for the client and payloads, clean response objects, and a short README example showing exactly how to use it. Include basic tests or examples so I can tell it works without connecting to my real account. Also document the safe cookie export flow, using a private browser window and closing it after exporting, since that’s important for this approach.

Want more depth? Deep Reverse