If it would help, I could add a new rest endpoint replacing blueprint with blueprintString in the url and it would serve just the string rather than json.
I'd also be willing to help contribute this feature if you could point me in the right direction.
Hello, author of factorioprints.com and factorio.school here. I'm a big fan of fbe in general and its integration with factorioprints.com.
I learned that to import a string from factorioprints.com, I can specify a url like: https://fbe.teoxoy.com/?source=https://factorioprints.com/view/-KYpTULTDIvDOsJfgjeS
I tried to see if the same thing works with factorio.school, and it seems like it's not implemented yet: https://fbe.teoxoy.com/?source=https://www.factorio.school/view/-KYpTULTDIvDOsJfgjeS
To fetch the data from factorio.school, take the key portion of the url, hit the rest endpoint of the form https://www.factorio.school/api/blueprint/-KYpTULTDIvDOsJfgjeS and use the data in .blueprintString.blueprintString
If it would help, I could add a new rest endpoint replacing
blueprint
withblueprintString
in the url and it would serve just the string rather than json.I'd also be willing to help contribute this feature if you could point me in the right direction.