-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |