Rust
API pentru Survivors.gg [ 2x Solo/Duo ] WIPED 21.04
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10780561json
{
"response": {
"fps": 54,
"fps_avg": 55,
"entities_count": 161388,
"world_seed": 229862,
"world_size": 3700,
"steam_id": "90284735085599747",
"domain": null,
"id": 10780561,
"ip": "185.248.134.167",
"port": 28014,
"query": 28015,
"color": 0,
"city": "London",
"description": "![Survivors.gg [ 2x Solo/Duo ] WIPED 21.04](https://www.survivors.gg/temp/server2.png)\nJoin Us: www.discord.survivors.gg \r\n\r\n \r\n - Fullwipes every Tuesday at 14:00 CEST and Friday at 16:00 CEST \r\n - Max Team: 2 \r\n - Electric BP's are unlocked \r\n - 2x Gather Rates. \r\n - Half smelt, crafting speeds \r\n - 5min nights \r\n - Fishing Village and Large Barn with Recycler",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776744798,
"score": 0,
"last_online": 1776795010,
"icon": null,
"name": "Survivors.gg [ 2x Solo/Duo ] WIPED 21.04",
"connect": "185.248.134.167:28014",
"request": "185.248.134.167:28015",
"map": "www.discord.gg/survivors",
"gamemode": "Survival",
"version": "2623",
"numplayers": 371,
"maxplayers": 400,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 111,
"add_date": 1766872417,
"last_update": 1776795010,
"banned": false,
"wipe": 1776772776,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 89,
"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/10780561");
$data = json_decode($json, true);
var_dump($data);