Valheim
PLAGUE RAT HOURS için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/1427606json
{
"response": {
"steam_id": 90285028995320860,
"domain": null,
"id": 1427606,
"ip": "216.173.114.4",
"port": 6484,
"query": 6485,
"color": 0,
"city": "Ashburn",
"description": "",
"game": 892970,
"owner": null,
"boosts": 1,
"last_offline": 1769795490,
"score": null,
"last_online": 1777566085,
"icon": null,
"name": "PLAGUE RAT HOURS",
"connect": "216.173.114.4:6484",
"request": "216.173.114.4:6485",
"map": "PLAGUE RAT HOURS",
"gamemode": null,
"version": "0.220.5",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": false,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1697293216,
"last_update": 1777566085,
"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": 510,
"language": "en",
"parked": false,
"app": {
"id": 34967,
"steam_id": 892970,
"name": "Valheim",
"url": "valheim"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/1427606");
$data = json_decode($json, true);
var_dump($data);