wokwi-features icon indicating copy to clipboard operation
wokwi-features copied to clipboard

To extend Web API to allow downloading project files by name programmatically

Open shaos opened this issue 2 years ago • 4 comments
trafficstars

Is your feature request related to a problem? Please describe. For now we can use Wokwi API to download diagram.json and to get Verilog representation of the circuit. I believe ability to download any file from the project will help to grow Wokwi ecosystem (user provided tools and integration with other applications).

Describe the solution you'd like To get diagram.json now we can use this API call: https://wokwi.com/api/projects/366564630633368577/diagram.json Similarly other files should be available as well: https://wokwi.com/api/projects/366564630633368577/cgate.chip.json https://wokwi.com/api/projects/366564630633368577/cgate.chip.v https://wokwi.com/api/projects/366564630633368577/sketch.ino and some kind of manifest that is listing all available files: https://wokwi.com/api/projects/366564630633368577/manifest and libraries (?) https://wokwi.com/api/projects/366564630633368577/libraries

shaos avatar Jun 05 '23 10:06 shaos

Not open for vote yet? ;)

shaos avatar Jun 15 '23 08:06 shaos

Sorry, missed this one. Fixed it now!

urish avatar Jun 15 '23 08:06 urish

https://wokwi.com/features?sort=newest#feature-1741447501

urish avatar Jun 15 '23 08:06 urish

Thanks! :)

shaos avatar Jun 15 '23 08:06 shaos