The Rust Bucket QUAD SQUADS için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 88,
"fps_avg": 79,
"entities_count": 69930,
"world_seed": 578369846,
"world_size": 3500,
"steam_id": "90286409059478551",
"domain": null,
"id": 11800987,
"ip": "104.192.227.186",
"port": 28035,
"query": 28037,
"project_id": null,
"color": 0,
"city": "Chicago",
"description": "Welcome to the server! Please have a good time! Some of us are new, and some are experienced players, so please stay friendly yet competitive and sweaty!! Keep the toxicity minimal. Teach the noobs, make friends, make enemies, but most of all make the best out of your experience! Map wipe will be weekly with new seed options posted in the discord (coming soon) and a BP wipe biweekly. Server hosted by Host Havoc",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1781463044,
"last_online": 1781488829,
"icon": null,
"name": "The Rust Bucket QUAD SQUADS",
"connect": "104.192.227.186:28035",
"request": "104.192.227.186:28037",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1781463044,
"last_update": 1781488829,
"banned": false,
"wipe": 1780156758,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 6260,
"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/11800987");
$data = json_decode($json, true);
var_dump($data);