Counter-Strike
API für Новый Сервер от MyArena.ru
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/785969json
{
"response": {
"steam_id": null,
"domain": null,
"id": 785969,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "",
"game": 10,
"owner": 36929,
"boosts": 1,
"last_offline": 1750457066,
"score": 5,
"last_online": 1732799530,
"icon": null,
"name": "Новый Сервер от MyArena.ru",
"connect": null,
"request": null,
"map": "de_prodigy",
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 15,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1682928670,
"last_update": 1750457066,
"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": 7048,
"language": "ru",
"parked": true,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": {
"username": "EgorKipriiyanov",
"avatar": "b063893b-0ab0-41d1-a744-04811b4f0959.jpg",
"last_online": 1683009685
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/785969");
$data = json_decode($json, true);
var_dump($data);