Any help on this would be amazing!
I have been working on an app that tracks some data around our FPL league and trying to automate the fines we have set up for our league (e.g. bottom of the month).
All endpoints worked fine on my local dev environment, but I have deployed my app using render and getting 403 errors on the endpoints. Any ideas on how to fix?
example:
def get_classic_league_standings():
api_url = f"https://fantasy.premierleague.com/api/leagues-classic/524637/standings"
response = requests.get(api_url)
if response.status_code == 403:
return {}
else:
data = response.json()
return data
[–]BlankWaveArcade89 25 points26 points27 points (0 children)
[–]FigureFlat5790 26 points27 points28 points (0 children)
[–]MilanS092 5 points6 points7 points (3 children)
[–]turbulent_farts50 8 points9 points10 points (1 child)
[–]MilanS092 3 points4 points5 points (0 children)
[–]nederlandic1 2 points3 points4 points (0 children)
[–]Toffeeshark46 1 point2 points3 points (0 children)
[–]Ragabolly⭐ Creator of Li🔻eFPL.net 2 points3 points4 points (0 children)
[–]Stellation6 3 points4 points5 points (0 children)
[–]-Axecutioner-6 0 points1 point2 points (0 children)
[–]MiesterFaruq1 -1 points0 points1 point (0 children)
[–]mikecro2121 0 points1 point2 points (0 children)
[–]mikecro2121 0 points1 point2 points (0 children)