EU RUSTCODE 2X için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 82292,
"world_seed": 1231214948,
"world_size": 3750,
"steam_id": "90286583295405079",
"domain": null,
"id": 11501836,
"ip": "64.40.9.123",
"port": 28115,
"query": 28113,
"color": 0,
"city": "London",
"description": "\nRUSTCODE IS A NEW SERVER ! We keep Rust feeling like Rust — just a little faster and smoother. Slight quality of life changes to reduce frustration without breaking natural gameplay. New players can learn the game without being too punished. Progress at a better pace, stay longer, enjoy more. \r\n \r\n \r\n•Monthly Wipe \r\n• X2 Gather Rate \r\n• X2 Smelt Speed \r\n• Balanced Loot (No Trash) \r\n• Free SkinBox \r\n• Play to Win Free VIP \r\n• Quality of life Features \r\n• Active Non-playing Admins \r\n \r\n \r\nrs022RXaozJ/0S&x73&*ng",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780511037,
"last_online": 1780595433,
"icon": null,
"name": "EU RUSTCODE 2X",
"connect": "64.40.9.123:28115",
"request": "64.40.9.123:28113",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 2,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779207182,
"last_update": 1780595433,
"banned": false,
"wipe": 1780510989,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4444,
"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/11501836");
$data = json_decode($json, true);
var_dump($data);