Skip to content

premier league table and fixtures lists with live scores and match details

Notifications You must be signed in to change notification settings

mrglennjones/pimoroni-inky-footy-frame

Repository files navigation

pimoroni-inky-footy-frame

premier league league table and fixtures lists with live scores and match details, displaying on Pimoroni's e-ink colour display, The Inky Frame 7.3

(this is in a very alpha stage atm, but i wanted to share it on the information super highway for others to utilise and play with.

give me a follow on all the socials @mrglennjones. let me know if you like/hate it or just send me some classic footy hooligan style banter or abuse, whatever.

image image

required:-

recommended:-

  • Micro SD card for team crest png image storage (default) you could adjust the code and store them on the pico if required. (should fit) :)

guide:-

these scripts utilise data fetched from https://www.api-football.com/ create an account here https://dashboard.api-football.com/register

  1. copy and paste your API KEY to a file called API KEY FILE and save it to the root of the pico, with the contents:-
API_KEY = 'your api key here'
  1. create a file WIFI_CONFIG.py also in the root of the pico and enter your wifi details:-
SSID = "your wifi ssid"
PASSWORD = "your wifi password"
COUNTRY = "GB"  # Change to your local two-letter ISO 3166-1 country code
  1. copy all of the crest png files from crest png images to the root (not in a folder) of the sd card (or pico if you've adjusted the code)

  2. run league_standings.py - this displays a full premier league table along with form data and team crest pngs

  3. or run match_fixtures.py - this displays 3 days of premier league fixtures along with, live scores and match details

  4. a battery indicator can be added to the top right of the inky frame:-

import battery_smol

battery_smol.display_battery(display)  # Call the function to display the battery information

ill put todo stuff in the issues section, feel free to get involved and collaberate on this.

G

About

premier league table and fixtures lists with live scores and match details

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages