Rust
WARBANDITS.GG 2X Monthly |Solo/Duo/Trio|Shared BPs| Just Wiped için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10781080json
{
"response": {
"modded": true,
"steam_id": "90284563253727242",
"domain": null,
"id": 10781080,
"ip": "162.222.16.230",
"port": 28010,
"query": 28015,
"color": 0,
"city": "Paris",
"description": "\nWelcome to WarBandits.gg 2x Trio Monthly! \r\n - Monthly Server Wipes \r\n - 2x Gather Rates \r\n - 2x Crafting Speed \r\n - 2x Components and Scrap \r\n - Recyclers at additional monuments \r\n - Custom High Performance Maps \r\n - Extended Workbench range \r\n - Long Days & Short Nights \r\n - Group Limit: 3 \r\n - Active Staff \r\n - Fast Smelt",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776090712,
"score": 0,
"last_online": 1776814217,
"icon": null,
"name": "WARBANDITS.GG 2X Monthly |Solo/Duo/Trio|Shared BPs| Just Wiped",
"connect": "162.222.16.230:28010",
"request": "162.222.16.230:28015",
"map": "Wiped 19 Days ago",
"gamemode": "Rust",
"version": "2623",
"numplayers": 65,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 79,
"add_date": 1766872496,
"last_update": 1776814217,
"banned": false,
"wipe": 1775151869,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 423,
"language": "fr",
"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/10781080");
$data = json_decode($json, true);
var_dump($data);