Rust
RUSTOLUTION.GG 2x Monthly | Solo Duo Trio Quad | 50% Upkeep | N için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/569057json
{
"response": {
"steam_id": "90284735794973703",
"domain": null,
"id": 569057,
"ip": "45.88.228.60",
"port": 28028,
"query": 28025,
"color": 0,
"city": "Dallas",
"description": "===Welcome to RUSTOLUTION.GG 2x Monthly Quad=== Wipes on the first Thursday ",
"game": 252490,
"owner": 34811,
"boosts": 1,
"last_offline": 1776514400,
"score": null,
"last_online": 1776813015,
"icon": null,
"name": "RUSTOLUTION.GG 2x Monthly | Solo Duo Trio Quad | 50% Upkeep | N",
"connect": "45.88.228.60:28028",
"request": "45.88.228.60:28025",
"map": "discord.gg/Rustolution",
"gamemode": "Rust",
"version": "2623",
"numplayers": 1,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 90,
"add_date": 1668891893,
"last_update": 1776813015,
"banned": false,
"wipe": 1775151553,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 261,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "GeoSciencegeek",
"avatar": "6bd50a36-573e-4532-b65d-d3f80795e956.jpg",
"last_online": 1680594104
},
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/569057");
$data = json_decode($json, true);
var_dump($data);