GRUFF ZONE ZA için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 256,
"fps_avg": 227,
"entities_count": 93585,
"world_seed": 892927107,
"world_size": 4000,
"steam_id": "90286604164207631",
"domain": null,
"id": 11511600,
"ip": "102.39.233.23",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Cape Town",
"description": "\nGRUFF ZONE ZA \r\nFor those of you that like more of a challange.\r\nRoaming NPC's will try and kill you .\r\nScientists will raid your base if you kill them\r\nand much more",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780596215,
"last_online": 1780605030,
"icon": null,
"name": "GRUFF ZONE ZA",
"connect": "102.39.233.23:28015",
"request": "102.39.233.23:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 1,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "ZA",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1779353856,
"last_update": 1780605030,
"banned": false,
"wipe": 1780596551,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2220,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11511600");
$data = json_decode($json, true);
var_dump($data);