Can Google Docs API be used to access Chrome sync data?

I’m trying to figure out if there’s a way to get Chrome sync info, like bookmarks, through the Google Docs API. I checked out some demos, but they don’t show the ‘Google Chrome’ folder when listing folders.

Does anyone know if it’s possible to access this data via the API? I’m especially curious about the bookmarks. What format are they stored in?

I’ve been poking around but haven’t had any luck so far. If anyone has experience with this or knows of any workarounds, I’d really appreciate the help. Thanks!

hey there, i’ve messed around with chrome apis before. the google docs api won’t help u with chrome sync stuff. for bookmarks, you gotta use the chrome bookmarks api in a extension. they’re stored in a json-like format.

if u really want google cloud, maybe try firebase to store exported bookmarks. just remember to get user consent!

I’ve actually been down this road before, and I can confirm that the Google Docs API isn’t the right tool for accessing Chrome sync data. They’re completely separate systems.

For bookmarks specifically, you’ll want to look into the Chrome Bookmarks API. It’s part of the Chrome extension ecosystem. The bookmarks are stored in a JSON-like format, which makes them pretty easy to work with programmatically.

If you’re dead set on using Google’s cloud infrastructure, you might consider using Google Cloud Storage or Firebase to store exported bookmark data. Then you could potentially use Google Cloud Functions to process or serve that data.

Just remember, any solution involving Chrome sync data will require user consent due to privacy considerations. Make sure you’re clear about what data you’re accessing and why.

As someone who’s worked extensively with Google APIs, I can say that accessing Chrome sync data through the Google Docs API isn’t possible. These are separate systems with different security models.

For Chrome sync data, including bookmarks, you’d need to look into the Chrome Sync API or Chrome Extensions API. These are designed specifically for interacting with browser data.

In my experience, bookmarks are typically stored in a proprietary format, but can be exported as HTML. If you’re set on using Google Docs API, you might consider having users export their bookmarks and upload them as a document. Then you could parse that with the Docs API.

Alternatively, you could explore creating a Chrome extension. This would give you direct access to the bookmark data in its native format. It’s a bit more work, but offers much more flexibility for what you’re trying to achieve.