SDTF Client
Step into the Specify SDK APIs to get fined grained access to your design data.
Last updated
Was this helpful?
Step into the Specify SDK APIs to get fined grained access to your design data.
Last updated
Was this helpful?
The produces finite and opinionated outputs, but sometimes you need to have more control over our generated files.
That's where the SDTF Client takes over and provide plenty of methods to work with any token tree.
The SDTF Client offers versatile methods for working with token trees, enabling data manipulation, transformation, and conversion into various formats or languages, bridging the gap between stored and live token instances within your repository.
To access your data, you use the . You can then fetch a and use the to manipulate the data and transform to your desired custom format.
The SDTF Client API wraps up the which holds the lower level methods to work with the token tree.
The Specify Client manages:
your authentication credentials - personal access token
your access to your organization repositories
The SDTF Client bridges the gap between the raw token tree stored into your repository - in Specify database - and the live token tree instance provided by the SDK.
Since the client is instantiated locally, all changes made to the token tree are only affecting the current version of the client.
Then, create several updates:
You can create several instances of the same initial token tree - using
with predefined formatters using
with cherry-picking of a sub-tree using
with custom implementation using
and
Converting tokens is always a matter of iterating over the tokens of your tree and decide what to do with their value(s), their and potential .
Looking for usage? 👉 heads up to the guide.