Counter-Strike
API für MRO. CS-CTF+Rangos MERCENARIOS 24/7 By WILMER-MENDOZA
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/24507json
{
"response": {
"steam_id": null,
"domain": null,
"id": 24507,
"ip": "74.91.127.86",
"port": 27021,
"query": 27021,
"color": 0,
"city": "Atlanta",
"description": "",
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1775878919,
"score": null,
"last_online": 1776205817,
"icon": null,
"name": "MRO. CS-CTF+Rangos MERCENARIOS 24/7 By WILMER-MENDOZA",
"connect": "74.91.127.86:27021",
"request": "74.91.127.86:27021",
"map": "fy_snow3",
"gamemode": "Comunidad MRO",
"version": "1.1.2.7/Stdio",
"numplayers": 10,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 50,
"add_date": 1516147078,
"last_update": 1776205817,
"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": 2385,
"language": "en",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/24507");
$data = json_decode($json, true);
var_dump($data);