GoldenEye: Source
API für [CA] macgu.fun - Something I'm Still Working On
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11138395json
{
"response": {
"steam_id": "90284894498967563",
"domain": null,
"id": 11138395,
"ip": "51.161.34.159",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Montreal",
"description": null,
"game": 9000004,
"owner": null,
"boosts": 1,
"last_offline": 1777514556,
"score": 0,
"last_online": 1777110715,
"icon": null,
"name": "[CA] macgu.fun - Something I'm Still Working On",
"connect": "51.161.34.159:27015",
"request": "51.161.34.159:27015",
"map": "ge_archives",
"gamemode": "Deathmatch",
"version": "1.0.1.0",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": false,
"country": "CA",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1770398927,
"last_update": 1777514556,
"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": 19,
"language": "en",
"parked": false,
"app": {
"id": 20,
"steam_id": 9000004,
"name": "GoldenEye: Source",
"url": "goldeneye-source"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11138395");
$data = json_decode($json, true);
var_dump($data);