Version: 1.0
The FMJD Public Player API provides open access to core information about FMJD-registered draughts players. This API is free to use, requires no authentication, and is designed for public applications, tools, and federations.
https://fmjd.org/webservices/api/public/
The API returns:
GET /players/{id}
GET https://fmjd.org/webservices/api/public/players/10007
| Name | Type | Required | Description |
|---|---|---|---|
| id | Integer | Yes | FMJD ID |
{
"id": "10018",
"first_name": "Alexander",
"last_name": "Presman",
"gender": "M",
"country": "nl",
"rating": "2364",
"wrating": "0",
"title": "gmi",
"wtitle": "",
"personal_url": "https://www.fmjd.org/?p=pcard&id=10018",
"image_url": "https://www.fmjd.org/downloads/DA/images/10018.PNG"
}
{"error": "Player not found"}
{"error": "Internal error"}
curl https://fmjd.org/webservices/api/public/players/10007
fetch("https://fmjd.org/webservices/api/public/players/10007")
.then(r => r.json())
.then(player => console.log(player));
$player = json_decode(file_get_contents(
"https://fmjd.org/webservices/api/public/players/10007"
), true);
echo $player['first_name'] . " " . $player['last_name'];
import requests
r = requests.get("https://fmjd.org/webservices/api/public/players/10007")
print(r.json())
| Type | Format |
|---|---|
| Player Profile | https://fmjd.org/players/{id} |
| Player Image | https://fmjd.org/photos/players/{id}.jpg |
FMJD IT Department
Email: webmaster@fmjd.org
Website: https://fmjd.org