Substance Designer to Blender Script

Was wondering if anyone in the community knew of a way to code a substance to Blender script. I can code it myself, I’m just looking for documentation on how to do it, i.e. Documentation about the code in Substance, and documentation on material addons and such in Blender.