Counter-Strike
Зомби сервер (x_x(O_o)x_x) Go Zombie !!! için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/5709json
{
"response": {
"steam_id": null,
"domain": null,
"id": 5709,
"ip": "46.174.52.13",
"port": 27259,
"query": 27259,
"color": 0,
"city": "Moscow",
"description": "",
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1777524202,
"score": null,
"last_online": 1777625426,
"icon": null,
"name": "Зомби сервер (x_x(O_o)x_x) Go Zombie !!!",
"connect": "46.174.52.13:27259",
"request": "46.174.52.13:27259",
"map": "zm_dwarf",
"gamemode": "vk.com/go_zombie",
"version": "1.1.2.7/Stdio",
"numplayers": 11,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 48,
"add_date": 1501541221,
"last_update": 1777625426,
"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": 2626,
"language": "ru",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/5709");
$data = json_decode($json, true);
var_dump($data);