Rust
[EU] Northern-Gaming | VANILLA | NoBp wipe için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/2310928json
{
"response": {
"fps": 72,
"fps_avg": 73,
"entities_count": 108069,
"world_seed": 1659801896,
"world_size": 4250,
"steam_id": "90284797288056833",
"domain": null,
"id": 2310928,
"ip": "109.228.171.11",
"port": 28019,
"query": 28018,
"color": 0,
"city": "Stockholm",
"description": "![[EU] Northern-Gaming | VANILLA | NoBp wipe](https://i.ibb.co/VBtTmh7/logo.png)\nWelcome to Northern-Gaming community server!\r\n\r\n-No cheating or exploiting.\r\n-No racist words/signs used.\r\n-You will not be able to play if you have VAC/EAC in the last 365 days.\r\n-Active Admin's\r\n\r\nJoin discord https://discord.gg/yMyYn8Tf2C for more information.\r\nMonthly map wipe BP will not wipe.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776831796,
"score": null,
"last_online": 1776879621,
"icon": null,
"name": "[EU] Northern-Gaming | VANILLA | NoBp wipe",
"connect": "109.228.171.11:28019",
"request": "109.228.171.11:28018",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 3,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "SE",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1703673829,
"last_update": 1776879621,
"banned": false,
"wipe": 1775153396,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2211,
"language": "sv",
"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/2310928");
$data = json_decode($json, true);
var_dump($data);