Right now, the GraphQL API in the Web App is allowed to be used only inside the Web App itself. It would be great to have the ability to use it outside of Web App, so that we can, for example, parse document data, extract all kinds of tokens (also possibly custom), use different languages (not only JS with sketch-file NPM package), etc.
It’s kind of bummer, you have to still download a file, to process in during CI, while you have it already in the cloud and available as API.
We’re always looking for ways to enable you to get what you want out of your sketch documents. And while we don’t yet have a comprehensive public API, I’m really keen to hear what you and others might want to use such an API for
Color tokens are great. But it’s just a tiny piece of what is required. I thought I could overcome this by just parsing the file itself - downloading it through a shared link or API, and then getting what I need from it, but it was disappointing to find out that it’s technically not possible to have a stable link to latest file version for the web.
This basically stopped my further work on getting back to Sketch from Figma
@tim As a temporary solution, is it possible to at least have a permanent link to the latest version of the file from sketch cloud? I did not find any solution so far, so as last resort would be writing a headless browser script that will just go there, and find the link in the UI.