API pentru [CN-UN]GOC Ganzir Training Base(PVP SEVER)
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"steam_id": "90286637819501583",
"domain": null,
"id": 11716472,
"ip": "123.99.201.181",
"port": 24561,
"query": 24562,
"project_id": null,
"color": 0,
"city": "Hangzhou",
"description": null,
"game": 872670,
"owner": null,
"boosts": 1,
"last_offline": 1780671205,
"last_online": 1780673417,
"icon": null,
"name": "[CN-UN]GOC Ganzir Training Base(PVP SEVER)",
"connect": "123.99.201.181:24561",
"request": "123.99.201.181:24562",
"map": "M_Sewer_CanalPVP",
"gamemode": "PVP",
"version": "0.4.1.0",
"numplayers": 9,
"maxplayers": 12,
"bots": 0,
"secured": false,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 113,
"add_date": 1780302089,
"last_update": 1780673417,
"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": 2,
"language": "zh",
"parked": false,
"app": {
"id": 51883,
"steam_id": 872670,
"name": "SCP: 5K (Alpha Testing)",
"url": "scp-5k-alpha-testing"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11716472");
$data = json_decode($json, true);
var_dump($data);