r/PyScript • • Feb 02 '23
Calling API with pyscript
Hello everyone!
I am working on a website, and I want to call in an API quickly and effortlessly without needed a backend. My only problem with this approach is that someone can just "inspect" or "view page source" on my website and see my api key and other information. Is there any workaround?
3
Upvotes
View all comments
Show parent comment
1
u/rastapapa44 Feb 09 '23
I am thinking the same thing. Can Google's OAuth 2.0 quickstart.py example be implemented in html with pyscript?