Gray Matter Gaming Oklahoma için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 46,
"fps_avg": 49,
"entities_count": 125077,
"world_seed": 1337,
"world_size": 4500,
"steam_id": "90286379638710283",
"domain": null,
"id": 11686481,
"ip": "155.94.100.245",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Fairview",
"description": "\nWelcome to Gray Matter Gaming Oklahoma!\r\nWe have all of our rules posted in our Discord\r\nunder the Rust Tab. This server is Vanilla for the most part.\r\nWe do have Backpack you keep on death and a \r\nfew other plugin mainly for quality of life.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780224646,
"last_online": 1780547436,
"icon": null,
"name": "Gray Matter Gaming Oklahoma",
"connect": "155.94.100.245:28015",
"request": "155.94.100.245:28017",
"map": "Custom Map",
"gamemode": "Vanilla",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780224646,
"last_update": 1780547436,
"banned": false,
"wipe": 1778178986,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5933,
"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/11686481");
$data = json_decode($json, true);
var_dump($data);