Hi Mm,
The code I gave above would be used in Python using IDE software of choice like Visual Studio Code or Spyder.
I think you are looking for a way to call the API through your browser. I’m not sure if that is possible even though that would be an easy and handy way of using the API. The code described here might be a good starting point though: Single factor testing tool developed using the API - #6 by danparquette. It uses Google Cobab to execute the code in Python. That way at least you don’t have to download an IDE.
Hope this doesn’t sound too confusing and perhaps there is a more user friendly way of using the API that I am not currently aware of.
Best,
Victor