OL'Farts Gaming - Rust PVP Vanilla için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 45,
"fps_avg": 45,
"entities_count": 131306,
"world_seed": 1337,
"world_size": 4800,
"steam_id": "90286603903379456",
"domain": null,
"id": 2330567,
"ip": "216.105.171.133",
"port": 28221,
"query": 28224,
"color": 0,
"city": "Chicago",
"description": "\nWelcome to OL'Farts Gamings Rust Absolutely No Racist Comments in chat or mic. Do not cry hacks in chat. Report them by pressing F7 and reporting it to facepunch. and report it to us through PM in Discord.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595663,
"last_online": 1780609827,
"icon": null,
"name": "OL'Farts Gaming - Rust PVP Vanilla",
"connect": "216.105.171.133:28221",
"request": "216.105.171.133:28224",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 7,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1703792350,
"last_update": 1780609827,
"banned": false,
"wipe": 1780595689,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1573,
"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/2330567");
$data = json_decode($json, true);
var_dump($data);