Rust
[SEA] The Den Beginners PVP 2X için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11261287json
{
"response": {
"fps": 97,
"fps_avg": 96,
"entities_count": 84724,
"world_seed": 1310747615,
"world_size": 3700,
"steam_id": "90284750837897232",
"domain": null,
"id": 11261287,
"ip": "116.89.111.196",
"port": 28215,
"query": 28217,
"color": 0,
"city": "Singapore",
"description": "![[SEA] The Den Beginners PVP 2X](https://i.imgur.com/SptlAKG.jpg)\n[Server Info]\r\n2X Resources - All Monuments.\r\nWeekly Map Wipe.\r\n\r\nJoin Discord - dc.thedenservers.com\r\n\r\n[Rules]\r\n1. Respect fellow players.\r\n2. Be chill and a sport. Play on PVE-Only servers if you can't take the hit.\r\n3. No toxicity, trolling, bullying, sexism or racism.\r\n4. No disrespecting of others' religion.\r\n5. No cheating, glitching, scripting or hacking of any kind.\r\n\r\nHave fun!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776393818,
"score": 0,
"last_online": 1776853224,
"icon": null,
"name": "[SEA] The Den Beginners PVP 2X",
"connect": "116.89.111.196:28215",
"request": "116.89.111.196:28217",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 80,
"bots": 0,
"secured": true,
"private": false,
"country": "SG",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774555232,
"last_update": 1776853224,
"banned": false,
"wipe": 1776393979,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5059,
"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/11261287");
$data = json_decode($json, true);
var_dump($data);