Skip to content

Commit

Permalink
Add metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
kamicut committed May 30, 2024
1 parent bb72d7a commit c07e8b1
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# FIDE Players Viewer

View the list of FIDE players and their ratings. The source of the data is the [FIDE website](https://ratings.fide.com/download.phtml).

## Architecture

- The data is downloaded from the FIDE website and stored in a SQLite database using `players.py`
- API is built with [Datasette](https://datasette.io/) and published on `fly.io`
- `index.html` is a simple HTML page that uses the API to display the list of players
- The Datasette API is available at [https://fide-players.fly.dev/players](https://fide-players.fly.dev/players)
- The HTML page is available at [https://kamicut.cc/fide-players/](https://kamicut.cc/fide-players/)
- TODO: A Github Action to update the data daily
16 changes: 16 additions & 0 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"title": "FIDE Players",
"description": "FIDE player names, ratings, and other information",
"source": "FIDE Ratings list",
"source_url": "https://ratings.fide.com/download.phtml",
"databases": {
"players": {
"tables": {
"players": {
"fts_table": "players_fts",
"fts_pk": "fideid"
}
}
}
}
}

0 comments on commit c07e8b1

Please sign in to comment.