Rust
API pentru Insert Name - EUGameHost.com
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11260628json
{
"response": {
"steam_id": "90284253695754245",
"domain": null,
"id": 11260628,
"ip": "185.172.175.236",
"port": 28025,
"query": 28026,
"color": 0,
"city": "City of London",
"description": "\nA high-performance Rust server, powered by CPUs running at 4.5-5Ghz, supported by super-fast SSD/NVME drives, and fortified with robust 12Tbps DDoS protection from path.net.\r\n\r\nWhat sets us apart?\r\n�ף Lightning-fast Deployment in Just 30 Seconds\r\n�ף Global Server Locations for Optimal Latency\r\n�ף Top-of-the-line Hardware Ensuring Unwavering Reliability\r\n�ף Shielded with 12Tbps Anycasted DDoS Protection and A2S Caching by path.net\r\n\r\nUnlock the ultimate gaming experience today!\r\nPurchase your own server now at eugamehost.com/rust-server-hosting.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775962312,
"score": 0,
"last_online": 1776837022,
"icon": null,
"name": "Insert Name - EUGameHost.com",
"connect": "185.172.175.236:28025",
"request": "185.172.175.236:28026",
"map": "Procedural Map",
"gamemode": "Rust",
"version": "2622",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774555199,
"last_update": 1776837022,
"banned": false,
"wipe": 1774194819,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4872,
"language": "en",
"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/11260628");
$data = json_decode($json, true);
var_dump($data);