Fistful of Frags
API für PHPORYX.COM - Frag Server VII - FFA
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/1469229json
{
"response": {
"steam_id": "90285103457538061",
"domain": null,
"id": 1469229,
"ip": "185.132.42.12",
"port": 26071,
"query": 26071,
"color": 0,
"city": "London",
"description": "",
"game": 265630,
"owner": null,
"boosts": 1,
"last_offline": 1773545568,
"score": null,
"last_online": 1777530009,
"icon": null,
"name": "PHPORYX.COM - Frag Server VII - FFA",
"connect": "185.132.42.12:26071",
"request": "185.132.42.12:26071",
"map": "fof_winterlong",
"gamemode": "Shootout",
"version": "628",
"numplayers": 1,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 115,
"add_date": 1697313642,
"last_update": 1777530009,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2,
"language": "en",
"parked": false,
"app": {
"id": 81,
"steam_id": 265630,
"name": "Fistful of Frags",
"url": "fistful-of-frags"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/1469229");
$data = json_decode($json, true);
var_dump($data);