API pentru Four Horsemen | PVE | Monthly | 2X | 6/4
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 81,
"fps_avg": 78,
"entities_count": 98783,
"world_seed": 268604293,
"world_size": 4250,
"steam_id": "90286603860239375",
"domain": null,
"id": 760843,
"ip": "64.40.223.6",
"port": 28018,
"query": 28017,
"color": 0,
"city": "Abilene",
"description": "\nFour Horsemen | PVE | No Killing | No Raiding\r\nServer rules can be found on our discord.\r\nhttps://discord.gg/TEdvqP27An\r\n\r\nPVP 72 hours before wipe. Next PVP event June 1st\r\n\r\nLast Blueprint Wipe - 3/6 March 6th 1PM Central\r\nNext Blueprint Wipe - 1/1 January 1st 1PM Central\r\nLast Map Wipe - 5/7 May 7th 1PM Central\r\nNext Map Wipe - 6/4 June 4th 1PM Central\r\n\r\nTeam Limit 4\r\nNoob Friendly\r\nRaidable Bases\r\nDefendable Bases\r\nNPC Raiders\r\nConvoy\r\nGrid Power\r\nWater Bases\r\nCargo Train Event\r\nTrain Heist Event\r\nMonument NPC's\r\nBoss Monster\r\nNight Lanterns\r\nBackpackpro\r\nFurnace Levels\r\nIncreased Stack Size\r\nReduced Upkeep\r\nDrop Ship\r\nJet Pack",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595664,
"last_online": 1780601432,
"icon": null,
"name": "Four Horsemen | PVE | Monthly | 2X | 6/4",
"connect": "64.40.223.6:28018",
"request": "64.40.223.6:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1680785167,
"last_update": 1780601432,
"banned": false,
"wipe": 1780595557,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2550,
"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/760843");
$data = json_decode($json, true);
var_dump($data);