Rust
Survivors.gg #6 [ 2x Solo/Duo/Trio/Quad ] FULLWIPED 21.04 için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/1855649json
{
"response": {
"fps": 32,
"fps_avg": 31,
"entities_count": 151970,
"world_seed": 339852,
"world_size": 3750,
"steam_id": "90284743036544026",
"domain": null,
"id": 1855649,
"ip": "195.60.166.86",
"port": 28014,
"query": 28015,
"color": 0,
"city": "City of London",
"description": "![Survivors.gg #6 [ 2x Solo/Duo/Trio/Quad ] FULLWIPED 21.04](https://www.survivors.gg/temp/server2.png)\n\r\n - Welcome to Survivors.gg \r\n -- Rust gaming community since 2014 \r\n --- Join Us: www.discord.survivors.gg \r\n\r\n - Weekly Fullwipe every Saturday at 15:00 CEST and every Tuesday at 17:00 CEST \r\n - Max Team: 4 Players \r\n - Electric BP's are unlocked \r\n - 2x Gather Rates. \r\n - Half smelt and crafting speeds \r\n - Faster nights \r\n - Fishing Village and Large Barn with Recycler \r\n - write /help for all commands \r\n - no Kits, no TP and no P2W! \r\n\r\n Admins do not play or interfere with gameplay. \r\n Visit www.Survivors.gg for more information.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776571993,
"score": null,
"last_online": 1776810012,
"icon": null,
"name": "Survivors.gg #6 [ 2x Solo/Duo/Trio/Quad ] FULLWIPED 21.04",
"connect": "195.60.166.86:28014",
"request": "195.60.166.86:28015",
"map": "www.discord.gg/survivors",
"gamemode": "Survival",
"version": "2623",
"numplayers": 200,
"maxplayers": 300,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 107,
"add_date": 1700208162,
"last_update": 1776810012,
"banned": false,
"wipe": 1776783597,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 102,
"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/1855649");
$data = json_decode($json, true);
var_dump($data);