big booba's waffle house için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 224,
"fps_avg": 227,
"entities_count": 156076,
"world_seed": 1642071732,
"world_size": 5000,
"steam_id": "90286305779312666",
"domain": null,
"id": 10780806,
"ip": "135.148.134.80",
"port": 29144,
"query": 29145,
"color": 0,
"city": "Hudson",
"description": "welcome to the realest rust server around\r\npure vanilla. monthly wipes. poker nights. weekend bradleys. talents shows. horse racing. and many more events\r\nwe are not a dedicated pvp pve or roleplay server. we're just a rust server\r\ncasual. noobs welcome. friendly regulars\r\nwe do not enforce any rules beyond no cheating. any suspected cheating can be easily reported to our active admin staff\r\nbesides that... the gun is the law\r\nif you've come to prey on casuals then my team will sweat on you",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780605215,
"last_online": 1779969625,
"icon": null,
"name": "big booba's waffle house",
"connect": "135.148.134.80:29144",
"request": "135.148.134.80:29145",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1766872457,
"last_update": 1780605215,
"banned": false,
"wipe": 1778176923,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10176,
"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/10780806");
$data = json_decode($json, true);
var_dump($data);