Python Anywhere
import requests url = "https://pyapi.fusioncow.repl.co/" f=open("test.py",'r') pyfile = str(f.read()).replace("\n","||") headers = { 'code': 'print(5)||', 'type': 'python', 'X-RapidAPI-Key': 'key', 'X-RapidAPI-Host': 'python-anywhere.p.rapidapi.com' } f.close() r = requests.get(url, headers=headers) print(r.text[:-1])
Python Anywhere endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET |
main / |
Main endpoint |
Python Anywhere pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| MEGA | $5 / month | — |
|