API dla Another Qonzer.com server is born!
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": "90286725890796555",
"domain": null,
"id": 11708604,
"ip": "156.67.62.100",
"port": 9876,
"query": 9877,
"project_id": null,
"color": 0,
"city": "Istanbul",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1780437199,
"last_online": 1781044286,
"icon": null,
"name": "Another Qonzer.com server is born!",
"connect": "156.67.62.100:9876",
"request": "156.67.62.100:9877",
"map": "VRisingWorld",
"gamemode": "3956bddb-e955-4a85-977b-85f870c101d6",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": true,
"country": "TR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1780262862,
"last_update": 1781044286,
"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": 3578,
"language": "tr",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11708604");
$data = json_decode($json, true);
var_dump($data);