Skip to main content
100%

Updates ones Twitter bio with the current gameweek and their rank

✓ Published0🌍 Public
CConorAspell
Last edited Jan 8, 2023
Created on Jan 8, 2023

This example shows a Twitter bio that continuously displays the current Fantasy Premier League gameweek and the user’s overall rank. It retrieves live data from the FPL API using `requests`, extracts the latest event and rank from the JSON response, and then updates the profile description via the `tweepy` library. The code reads credentials from environment variables and uses OAuth authentication to modify the bio automatically after each gameweek.

AI-generated description

Similar vizzes