Created
August 14, 2019 19:48
-
-
Save heaversm/be6182cb4f3c5bcd4385e264ed086cd2 to your computer and use it in GitHub Desktop.
Get Runway Model Info as JSON
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let modelOutput; | |
fetch('http://localhost:8000/info') | |
.then(response => response.json()) | |
.then(output => { | |
modelOutput = output; | |
// use the output in your project | |
console.log(output); | |
//to copy it from the console, right click the object in chrome and choose 'save as global variable' | |
//then type copy(temp1) and paste the clipboard contents into a .json file | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment