SkillAgentSearch skills...

Soccer

Emacs package to get soccer fixtures, results, standing table etc

Install / Use

/learn @md-arif-shaikh/Soccer
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

#+TITLE: Soccer #+AUTHOR: Md Arif Shaikh #+EMAIL: arifshaikh.astro@gmail.com

#+html: <div> <img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/md-arif-shaikh/soccer"> <img alt="GitHub" src="https://img.shields.io/github/license/md-arif-shaikh/soccer"> <a href="https://melpa.org/#/soccer"><img alt="MELPA" src="https://melpa.org/packages/soccer-badge.svg"/></a> <a href="https://stable.melpa.org/#/soccer"><img alt="MELPA Stable" src="https://stable.melpa.org/packages/soccer-badge.svg"/></a></div>

  • Table of contents :TOC:
  • [[#about-the-package][About the package]]
  • [[#installation-and-configuration][Installation and configuration]]
    • [[#install][Install]]
    • [[#set-local-time][Set local time]]
    • [[#keybindings][Keybindings]]
    • [[#full-working-configuration][Full working configuration]]
  • [[#useful-interactive-functions][Useful interactive functions]]
  • [[#screenshots][Screenshots]]
    • [[#soccer-fixtures-next-5][soccer-fixtures-next-5]]
    • [[#soccer-fixtures-all-clubs][soccer-fixtures-all-clubs]]
    • [[#soccer-results-last-5][soccer-results-last-5]]
    • [[#soccer-results-all-clubs][soccer-results-all-clubs]]
    • [[#soccer-table-top-4][soccer-table-top-4]]
    • [[#soccer-table-bottom-4][soccer-table-bottom-4]]
    • [[#soccer-table][soccer-table]]
  • About the package ~Soccer~ is an [[https://www.gnu.org/software/emacs/][Emacs]] package for getting fixtures, results, standing table, etc for soccer (football) matches inside emacs. Following are some the competitions that are included
    • Premier League (England)
    • La Liga (Spain)
    • Ligue 1 (France)
    • Bundesliga (Germany)
    • Serie A (Italy)
    • Championship (England) All data are fetched from ~the guardian~ website.
  • Installation and configuration ** Install It's available in [[https://melpa.org/#/][Melpa]]. Look [[https://melpa.org/#/getting-started][here]] for instruction. One can also install it using ~straight~ and ~use-package~ #+BEGIN_SRC emacs-lisp (use-package soccer :straight (soccer :type git :host github :repo "md-arif-shaikh/soccer")) #+END_SRC ** Set local time To get the time and match day converted to your local time configure the following #+BEGIN_SRC emacs-lisp (setq soccer-time-local-time-utc-offset "+0530") #+END_SRC ** Keybindings Additionally you may want to make some keybindings to call the interactive functions conveniently. For example, using ~use-package~ this can be done like below, #+BEGIN_SRC emacs-lisp (use-package soccer :straight t :config (setq soccer-time-local-time-utc-offset "+0530") :bind (("C-c s f" . soccer-fixtures-next) ("C-c s r" . soccer-results-last) ("C-c s t" . soccer-table))) #+END_SRC This will fetch and install the package from ~Melpa~, set your local ~utc-offset~ and set the above keybindings. ** Full working configuration #+BEGIN_SRC emacs-lisp (use-package soccer :straight (soccer :type git :host github :repo "md-arif-shaikh/soccer") :init :config (setq soccer-time-local-time-utc-offset "+0530") :bind (("C-c s f" . soccer-fixtures-next) ("C-c s r" . soccer-results-last) ("C-c s t" . soccer-table))) #+END_SRC
  • Useful interactive functions Call these using ~M-x Function~ where ~Function~ is any of the following functions

|--------------------------------------+------------------------------------------------------| | Functions | Actions | | ~soccer-fixtures-next~ | Fixture for the Next match | | ~soccer-fixtures-next-5~ | Fixtures of the Next 5 matches | | ~soccer-fixtures-full-in-org~ | Full fixtures saved in org file | | ~soccer-fixtures-all-clubs~ | Fixtures for all clubs in a league | | ~soccer-results-last~ | Result of the last match | | ~soccer-results-last-5~ | Results of the last 5 matches | | ~soccer-results-full-in-org~ | Full list of results in org file | | ~soccer-results-all-clubs~ | Results for all clubs in a league | | ~soccer-table~ | Full Ranking table | | ~soccer-table-top-4~ | Rank table with top 4 teams | | ~soccer-table-bottom-4~ | Rank table with bottom 4 teams | | ~soccer-schedule~ | Add fixtures in org-agenda | | ~soccer-schedule-league~ | Add fixtures for all clubs in a league in org-agenda | | ~soccer-schedule-remove-past-fixtures~ | Remove past fixtures from agenda. | |--------------------------------------+------------------------------------------------------|

  • Screenshots ** soccer-fixtures-next-5 #+html: <div> <img src="./screenshots/fixtures-1.png"> </div> #+html: <div> <img src="./screenshots/fixtures-2.png"> </div> ** soccer-fixtures-all-clubs #+html: <div> <img src="./screenshots/fixtures-all-clubs.png"> </div> ** soccer-results-last-5 #+html: <div> <img src="./screenshots/results-1.png"> </div> #+html: <div> <img src="./screenshots/results-2.png"> </div> ** soccer-results-all-clubs #+html: <div> <img src="./screenshots/results-all-clubs.png"> </div> ** soccer-table-top-4 #+html: <div> <img src="./screenshots/table-top-4.png"></div> ** soccer-table-bottom-4 #+html: <div> <img src="./screenshots/table-bottom-4.png"></div> ** soccer-table #+html: <div> <img src="./screenshots/table-1.png"></div> #+html: <div> <img src="./screenshots/table-2.png"></div>

Related Skills

View on GitHub
GitHub Stars17
CategoryDevelopment
Updated3d ago
Forks4

Languages

Emacs Lisp

Security Score

95/100

Audited on Mar 27, 2026

No findings