How to use python file on wix site

Hey guys,

i have a python file, that gets data from the riot games api. i want to use that data in my website, but i dont know how to implement it.

Havent found useful information, or i didnt understand it.

Try to “rewrite” the code in JavaScript.

Or you gonna try that Python and JavaScript can communication togheter (google is your friend: https://www.google.com/search?q=python+and+javascript+communication&oq=python+and+javascript&aqs=chrome.1.69i57j0l5.5673j0j7&sourceid=chrome&ie=UTF-8 )

Or see if you can do it yourself to Riot API

Wix Fetch
https://www.wix.com/corvid/reference/wix-fetch.html
https://support.wix.com/en/article/corvid-accessing-third-party-services-with-the-fetch-api

Wix HTTP Functions
https://www.wix.com/corvid/reference/wix-http-functions.html
https://support.wix.com/en/article/corvid-exposing-a-site-api-with-http-functions

Wix Example
https://www.wix.com/corvid/forum/corvid-tips-and-updates/example-myapi-and-myapiclient