So I found a website that calculates polynomials that I need it intakes a word of a's and b's say aabba and outputs a polynomial. Here is the website: http://www.math.stonybrook.edu/~moira/NewApps/Fricke%20Polynomial/fricke.html
I do not know how to use javascript,html,css or anything like that so I am not sure how to import this into Mathematica. I have asked it on stackoverflow with hopes of putting jt into Mathematica but no answer thus far. Thus I was wondering if I can perhaps write code in Mathematica that goes on that website, inputs a word, and outputs the polynomial. An API of a sort. Is that possible?
WebExecute
but it does not sound efficient. If you open the site and browser dev tools, navigate to Sources you can see Polynomial.js withfunction Fricke
so you can try to rewrite it with mma. Another take would be to fetch those js sources andExternalEvaluate
it through NodeJS. $\endgroup$