Counter-Strike
API für [ZM] Олдскул Зомбі [UA]
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10759911json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10759911,
"ip": "91.211.118.77",
"port": 27032,
"query": 27032,
"color": 0,
"city": "Kryvyi Rih",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1776032536,
"score": 0,
"last_online": 1776208249,
"icon": null,
"name": "[ZM] Олдскул Зомбі [UA]",
"connect": "91.211.118.77:27032",
"request": "91.211.118.77:27032",
"map": "zm_zombust",
"gamemode": "Zombie Plague 4.3 Fix5a",
"version": "1.1.2.7/Stdio",
"numplayers": 0,
"maxplayers": 10,
"bots": 9,
"secured": true,
"private": false,
"country": "UA",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1766257833,
"last_update": 1776208249,
"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": 6304,
"language": "uk",
"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/10759911");
$data = json_decode($json, true);
var_dump($data);