Skip to content

Instantly share code, notes, and snippets.

@mrmemmo
Created March 5, 2019 21:23
Show Gist options
  • Save mrmemmo/0a5673108e93226192a3d608d1e1922b to your computer and use it in GitHub Desktop.
Save mrmemmo/0a5673108e93226192a3d608d1e1922b to your computer and use it in GitHub Desktop.
public void read(){
String conn = "https://financialmodelingprep.com/api/company/profile/";
conn = conn + sym;
String[] fd = loadStrings(conn);//save info to string array
fd[0] = trim(fd[0].substring(fd[0].indexOf("{")));//grab the part we need
for(int i=0; i<fd.length; i++){
println(fd[i]);//make sure it works.
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment