Survive the Nights
[GER][PVE]Gaming-Fun için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/3585836json
{
"response": {
"steam_id": "90284589190153242",
"domain": null,
"id": 3585836,
"ip": "176.9.51.253",
"port": 7950,
"query": 7951,
"color": 0,
"city": "Falkenstein",
"description": "",
"game": 541300,
"owner": null,
"boosts": 1,
"last_offline": 1776184875,
"score": null,
"last_online": 1776514913,
"icon": null,
"name": "[GER][PVE]Gaming-Fun",
"connect": "176.9.51.253:7950",
"request": "176.9.51.253:7951",
"map": "Black_Island",
"gamemode": "Survive The Nights",
"version": "1.3.0.0",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1711354119,
"last_update": 1776514913,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 8,
"language": "de",
"parked": false,
"app": {
"id": 12556,
"steam_id": 541300,
"name": "Survive the Nights",
"url": "survive-the-nights"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/3585836");
$data = json_decode($json, true);
var_dump($data);