A custom block to get the next match opposition and match time for your football club on your i3block installation.
- Clone this git repo.
- Replace your RAPID_API_KEY & YOUR_TEAM_ID in the script
- Add the below code to your i3blocks config.(/etc/i3blocks.conf)
[nextmatch]
command=python3 $HOME/LOCATION_OF_THE_CLONED_REPO/nextmatch.py
interval=once
- Restart i3.($mod+shift+r)
- TADAAAA!
Things you'll require
- RAPID API KEY to get the API Access
- TEAM ID (Eg: Liverpool F.C Team id is 44)
Go to https://rapidapi.com/fluis.lacasse/api/footapi7 & subscribe.
You can use the search endpoint in RAPID API: /api/search/{term} for tasks like that, it works for leagues, teams, players.
Email : akshaypose@gmail.com (I might miss your mail with all the spam i've subscribed so connect with me on instagram) Instagram : akshaypose