Rust
API pentru Bestrust Solo/Duo 2x Monthly | JUST FULLWIPED 02.04 04/02
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/9670567json
{
"response": {
"steam_id": "90284310563085315",
"domain": null,
"id": 9670567,
"ip": "205.178.168.169",
"port": 28010,
"query": 28015,
"color": 0,
"city": "London",
"description": "\nWelcome to Bestrust Solo/Duo 2x - Monthly!\nGet 3 free rust skins by using the BESTRUST code on https://rustmagic.com.\n\nWipe Schedule:\n- First Thursday of every month at 19:45 CEST\n\nFeatures:\n- 2x gathering & loot\n- Max Group Size: 2\n- Shared Blueprints\n- Balanced kits & commands\n- Great anti-cheat + Active non-playing admins",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775778122,
"score": 0,
"last_online": 1776836419,
"icon": null,
"name": "Bestrust Solo/Duo 2x Monthly | JUST FULLWIPED 02.04 04/02",
"connect": "205.178.168.169:28010",
"request": "205.178.168.169:28015",
"map": "Wiped 19 days ago",
"gamemode": "Rust",
"version": "2623",
"numplayers": 3,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1751647958,
"last_update": 1776836419,
"banned": false,
"wipe": 1775152653,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1471,
"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/9670567");
$data = json_decode($json, true);
var_dump($data);