Drifters Mod Testing - PVPVE! için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 110,
"fps_avg": 79,
"entities_count": 108834,
"world_seed": 1337,
"world_size": 4000,
"steam_id": "90286579642151952",
"domain": null,
"id": 11511531,
"ip": "169.255.198.94",
"port": 28025,
"query": 28026,
"color": 0,
"city": "Centurion",
"description": "\nDrifters ZA\r\n\r\nI create my own mods - feel free to join and give some feedback!\r\nPlease dont complain when you die or lose gear, get yourself some more!. Included is premium mods like Zombie hunter, Cargo Convoy, plane crash events, Convoy Reforged etc.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780568665,
"last_online": 1780561829,
"icon": null,
"name": "Drifters Mod Testing - PVPVE!",
"connect": "169.255.198.94:28025",
"request": "169.255.198.94:28026",
"map": "Custom Map",
"gamemode": "Softcore",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "ZA",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779353852,
"last_update": 1780568665,
"banned": false,
"wipe": 1780497739,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 11881,
"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/11511531");
$data = json_decode($json, true);
var_dump($data);