API pentru Ziphora's Hotdawgs
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 40,
"fps_avg": 39,
"entities_count": 112209,
"world_seed": 697599639,
"world_size": 4500,
"steam_id": "90286174642453535",
"domain": null,
"id": 11645335,
"ip": "51.161.198.101",
"port": 28010,
"query": 28011,
"color": 0,
"city": "North Sydney",
"description": "WELCOME TO ZIPHORA'S COMMUNITY SERVER\r\n► PVE / RP strictly\r\n► No base raiding or griefing\r\nMain goal of server is to encourge players to build and be creative. Explore the map, experience RUST in a safe and PVE environment.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780177460,
"last_online": 1780654830,
"icon": null,
"name": "Ziphora's Hotdawgs",
"connect": "51.161.198.101:28010",
"request": "51.161.198.101:28011",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780177460,
"last_update": 1780654830,
"banned": false,
"wipe": 1779007334,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5489,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11645335");
$data = json_decode($json, true);
var_dump($data);