API pentru Ksnap's cinema
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 59,
"fps_avg": 59,
"entities_count": 96178,
"world_seed": 1337,
"world_size": 3500,
"steam_id": "90286389559825411",
"domain": null,
"id": 11260100,
"ip": "136.243.35.156",
"port": 28000,
"query": 28001,
"color": 0,
"city": "Falkenstein",
"description": "\nEU/ Outlander (PVE) \r\n \r\n Welcome to EU/ Outlander PVE \r\n \r\n A friendly PVE Rust server for players who want to enjoy building, exploring and surviving without constant raids. \r\n \r\n Languages \r\n English & Dutch community : everyone is welcome. \r\n \r\n Server Features \r\n Teleport system \r\n Player Clans \r\n VIP perks/kits \r\n Custom skins \r\n Friendly PVE gameplay \r\n Helpful community \r\n Regular updates & improvements \r\n \r\n Build your base, explore the map and enjoy Rust in a more relaxed way. \r\n \r\n Whether you're new to Rust or a veteran who wants a calmer experience, EU / Outlander PVE is the perfect place to play. \r\n \r\n Join us and start your adventure!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778194940,
"last_online": 1780570228,
"icon": null,
"name": "Ksnap's cinema",
"connect": "136.243.35.156:28000",
"request": "136.243.35.156:28001",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 1,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1774555187,
"last_update": 1780570228,
"banned": false,
"wipe": 1778195431,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1900,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11260100");
$data = json_decode($json, true);
var_dump($data);