Rust
API pentru RFCGAMES.COM - EU | RUST INVADERS
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11305380json
{
"response": {
"steam_id": "90284710599198733",
"domain": null,
"id": 11305380,
"ip": "185.44.80.38",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Nanterre",
"description": "\nRFC GAMES – Competitive Mini-Games Server Structured Competitive Gameplay\r\n \r\n We offer : \r\n \r\n - Team-based competition (teams of 3 players) \r\n - 10 minutes of farming and building to create and prepare your base \r\n - 30 minutes of PvP and raiding action \r\n - Fast-paced matches focused on skill, strategy, and teamwork \r\n - Regular updates, events, and new competitive modes \r\n \r\n Join RFC GAMES and prove your team is the strongest on the battlefield. Visit our website and join our Discord to stay updated and connect with the community.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1774592884,
"score": 0,
"last_online": 1776817226,
"icon": null,
"name": "RFCGAMES.COM - EU | RUST INVADERS",
"connect": "185.44.80.38:28015",
"request": "185.44.80.38:28017",
"map": "Custom Map",
"gamemode": "Rust",
"version": "2623",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774592884,
"last_update": 1776817226,
"banned": false,
"wipe": 1775251577,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5164,
"language": "fr",
"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/11305380");
$data = json_decode($json, true);
var_dump($data);